Hacker GitHub

← All repos

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

Mentions per year 11 mentions · busiest year 2022 (4)
20082026
  1. 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…
  2. …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
  3. …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
  4. 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
  5. …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
  6. …with PNG, which btw. has fast open source implementations too [1][2]. [1] https://libspng.org/ [2] https://github.com/richgel999/fpng
  7. 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
  8. …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?
  9. …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
  10. I think QOI inspired the creation of https://github.com/richgel999/fpng which creates standard PNGs and compares itself directly to QOI.
  11. …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.