News for hackers. Stuff that matters.
Re:Hello, PNG by dekerta on Wednesday January 18, 2023 @11:56AM (#34429301)
I really like QOI (The Quite OK Image format). It achieves similar compression to PNG, but it's ridiculously easy to implement (the entire spec fits on a single page), and its encoding and decoding times are many times faster than PNG.

https://qoiformat.org

Re:Hello, PNG by Retr0id on Wednesday January 18, 2023 @03:24PM (#34432523)
It depends on the implementation. fpng can beat QOI in both speed and compression ratio https://github.com/richgel999/fpng
Re:Hello, PNG by masklinn on Wednesday January 18, 2023 @04:37PM (#34433463)
> It achieves similar compression to PNG

It really doesn’t, even on Wii’s own curated corpus qoi is often >30% larger, and on worst case scenarios it can reach 4x.

Re:Hello, PNG by JD557 on Wednesday January 18, 2023 @06:19PM (#34434557)
I'm also a big fan of QOI as a simple imagine format.

Yes, it's not as good as PNG (as the sibling comments point out), but I view it more as an alternative to PPM (and maybe a BMP subset), as something that I can semi-quickly write an encoder/decoder if needed.

IMO, PNG is in a completely different level. Case in point, in the linked article the author mentions to not worry about the CRC implementation and "just use a lib"... If that's the case, why not just use a PNG lib?