TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Farbfeld lossless image format: easy to parse, pipe, compress

35 pointsby stargraveover 4 years ago

6 comments

giantrobotover 4 years ago
Sweet no identification of color space, gamma, and forced storage of the alpha channel. What a great format! &#x2F;s<p>PNG is pretty stupid easy to parse and supports inline compression and multiple bit depths. If you want some uncompressed format that&#x27;s easy to pipe and parse just use the NetPBM family.<p>Images are not just 2D arrays of pixels. There&#x27;s extra data needed to tell the viewing system some of the image&#x27;s provenance so it does so correctly.
评论 #25056465 未加载
评论 #25062913 未加载
megameterover 4 years ago
This is exactly what you need for the intermediate stages of a video game asset pipeline where you have a prepared set of images ready to be re-encoded to compressed and packed textures: you don&#x27;t want the overhead of decoding PNG at that stage, neither do you want a text parse like PPM. Bytes that can be used directly are good.<p>It&#x27;s a hugely uninteresting format in most respects.
CJeffersonover 4 years ago
The FAQ claims the compression achieved is good, but without a single concrete example -- lets see some comparisons to PNG?
评论 #25051695 未加载
Avshalomover 4 years ago
or just use PPM which is already supported everywhere
评论 #25051737 未加载
ReactiveJellyover 4 years ago
Why big-endian?<p>1. Optimizing for a big-endian CPU?<p>2. Optimizing for hex dump programs that don&#x27;t have a setting for endianness?<p>3. Ideological purity?
virtualritzover 4 years ago
No color space support and sRGBA enforced. It&#x27;s no accident then, that the domain is called suckless.org. Staircase wit.