Hacker GitHub

← All repos

phoboslab/qoi

View on GitHub ↗ ★ 7,550 C

The “Quite OK Image Format” for fast, lossless image compression

17 mentions on Hacker News by 17 people: 3 stories, 14 comments · first 2021-11-24 · latest 2025-07-28

Mentions per year 17 mentions · busiest year 2021 (11)
20082026
  1. I'd want to know how it compares to https://github.com/phoboslab/qoi One thing to note when designing a new video codec is to carpet bomb around the idea with research projects to stake claim to any possible feature enhancements. Anything…
  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. …it, and then interacted with others in their communities is ... neither polite nor reasonable. e.g. https://github.com/phoboslab/qoi/issues/35
    comment by NovemberWhiskey · 2023-03-03 · in Ethically Sourced Lena Picture
  4. I was kinda sad QOI ( https://github.com/phoboslab/qoi ) wasn’t included in the comparisons.
    comment by travisgriggs · 2022-06-08 · in What’s the best lossless image format?
  5. …taking about: https://mobile.twitter.com/richgel999/status/146443578680850... Which links to here: https://github.com/phoboslab/qoi/issues/35 It got so bad even John Carmack told him he was out of line:…
  6. I don't know about CUDA, however I've made an AVX2 based encoder a few months ago : https://github.com/phoboslab/qoi/pull/143 I intend to create an AVX2 based decoder but I had absolutely no time to work on side projects in the past three…
    comment by mkcg · 2022-04-02 · in QOI – The Quite OK Image Format
  7. It's because this link ( https://github.com/phoboslab/qoi ) has been approved by mods for reposting: it appears on the "pool" list [1] [2]. Which is a bit odd because as you point out, a different link [3] for the same project already…
  8. …with 2800 images en-/ and decodes without losing any pixels, as checked by qoibench[3]. [1] https://github.com/phoboslab/qoi/blob/master/qoifuzz.c [2] https://qoiformat.org/benchmark/ [3] https://github.com/phoboslab/qoi/blob/master/qoibenc…
    comment by phoboslab · 2021-12-20 · in The QOI File Format Specification
  9. …twice. Edit: Seems like I'm not the only person that thought this was a super weird choice: https://github.com/phoboslab/qoi/issues/36 The reasoning is: > The file format for QOI will not change anymore.
    comment by IshKebab · 2021-12-20 · in The QOI File Format Specification
  10. …buffer. So you don't get random memory contents in the output, which would be more exploitable. [1] https://github.com/phoboslab/qoi/blob/master/qoi.h
  11. …the .h (header) file contains functions. Not function definitions, but actual functions. E.g.: https://github.com/phoboslab/qoi/blob/master/qoi.h All functions (qoi_encode, qoi_decode, etc.) are completely included in this header file. It…
    comment by hackerfactor1 · 2021-11-24 · in QOI: Lossless Image Compression in O(n) Time
  12. …separately compiled objects should be able to quickly achieve that from a single-file library [1] https://github.com/phoboslab/qoi/blob/324c2243b2fb35f741a88d...
  13. …could use direct lookup However, I don’t think that part gonna work. See the code using that table: https://github.com/phoboslab/qoi/blob/master/qoi.h#L324-L328 SIMD registers aren’t indexable (at least not on AMD64), the register needs to…
  14. It has data size in header: https://github.com/phoboslab/qoi/blob/master/qoi.h#L77-L82 Just put exif info after data :P