richgel999/fpng
View on GitHub ↗ ★ 990 C
Super fast C++ .PNG writer/reader
11 mentions on Hacker News by 10 people: 0 stories, 11 comments · first 2021-12-23 · latest 2025-08-05
20082026
-
The developer who asked for the faster compression formats has later solved the problem himself: https://github.com/richgel999/fpng It turns out that deflate can be much faster when implemented specifically for PNG data, instead…
comment by pornel · 2025-08-05 · in Consider using Zstandard and/or LZ4 instead of Deflate -
…or alternate image formats like QOI[2] These both exist because png is slow and/or complicated. [1] https://github.com/richgel999/fpng [2] https://github.com/phoboslab/qoi (discussed here: https://news.ycombinator.com/item?id=29661498 )
comment by smcameron · 2023-12-10 · in CPNG, a backwards compatible fork of PNG -
…neither things like BMPs or things like PNG would suffice. [0] https://github.com/nothings/stb [1] https://github.com/richgel999/fpng/blob/main/src/fpng.cpp [2] https://github.com/jibsen/tinf/tree/master/src
comment by SideQuark · 2023-01-19 · in Hello, PNG -
It depends on the implementation. fpng can beat QOI in both speed and compression ratio https://github.com/richgel999/fpng
comment by Retr0id · 2023-01-18 · in Hello, PNG -
…least 15% of the overall CPU time, on platforms without accelerated checksum implementations. [1] https://github.com/richgel999/fpng
comment by Retr0id · 2023-01-18 · in Hello, PNG -
…with PNG, which btw. has fast open source implementations too [1][2]. [1] https://libspng.org/ [2] https://github.com/richgel999/fpng
comment by rsp1984 · 2022-12-18 · in Quite OK Image is now my favorite asset format -
This was actually considered, and other libraries do ignore checksums, or at least have options to: https://github.com/richgel999/fpng/issues/9
comment by wooosh · 2022-08-07 · in Computing Adler32 Checksums at 41 GB/s -
…on FJXL & FPNGE is epic. Thanks Quote Ok Image (QOI) format for setting the fire on this all!! [1] https://github.com/richgel999/fpng [2] https://twitter.com/richgel999/status/1485976101692358656 [3] https://www.lucaversari.it/FJXL_and_FPNG…
comment by rektide · 2022-06-07 · in What’s the best lossless image format? -
…can target a subset of PNG to get less optimized images but with QOI-like encode and decode speed: https://github.com/richgel999/fpng
comment by edflsafoiewq · 2022-04-02 · in QOI – The Quite OK Image Format -
I think QOI inspired the creation of https://github.com/richgel999/fpng which creates standard PNGs and compares itself directly to QOI.
comment by corysama · 2021-12-23 · in QOI – The “Quite OK Image Format” for fast, lossless image compression -
…reader/writer that is achieving comparable speed/compression to QOI, while staying png compliant. https://github.com/richgel999/fpng Disclaimer: have not actively tried either.
comment by sreekotay · 2021-12-23 · in QOI – The “Quite OK Image Format” for fast, lossless image compression