Open nigeltao opened 2 years ago
I think a good set of test images with natural alpha channel data is the 213 icons in The Tango base icon library which is "released to the Public Domain", rendered at 512x512 (scripts in the package uses librsvg)
P.S. Please excuse that I'm a stranger with a new account.
Great suggestion. I have created https://github.com/nigeltao/tango-icon-library-pngs to hold the 512x512 PNGs.
No excuse necessary. Strangers welcome!
Note sure where to post this. This 11kb PNG image encodes to a 256kb QOI. I feel like this is a worst-case scenario for that codec. I didn't generate that image for that purpose, I was just testing PNG vs QOI. So far, pretty underwhelmed with QOI compression size.
Some more good images to test against: https://github.com/jhcloos/test_images
@nigeltao it's nice that qoi-lz4 does better, but better entropy-coding doesn't really fix the lack of vertical intra prediction.
Per #14
and
It's not surprising in retrospect that, other than misc, nothing uses 5-byte QOI_COLOR codes, as the source pixels are fully opaque: they're photographs and screenshots.
Should we source some more PNG-images-with-alpha for our test suite? Perhaps some logos or SVG-to-PNG conversions??
Similar but not exactly the same: https://github.com/phoboslab/qoi/issues/20