TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

35 点作者 stargrave超过 4 年前

6 条评论

giantrobot超过 4 年前
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 未加载
megameter超过 4 年前
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.
CJefferson超过 4 年前
The FAQ claims the compression achieved is good, but without a single concrete example -- lets see some comparisons to PNG?
评论 #25051695 未加载
Avshalom超过 4 年前
or just use PPM which is already supported everywhere
评论 #25051737 未加载
ReactiveJelly超过 4 年前
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?
virtualritz超过 4 年前
No color space support and sRGBA enforced. It&#x27;s no accident then, that the domain is called suckless.org. Staircase wit.