qoi2-bikeshed icon indicating copy to clipboard operation
qoi2-bikeshed copied to clipboard

More benchmark suite image variety (esp. re alpha)

Open nigeltao opened this issue 3 years ago • 7 comments

Per #14

The test images are linked to from https://phoboslab.org/files/qoibench/ (with misc/lenna.png removed).

and

x kodak misc screenshots textures wallpaper total average QOI_COLOR (40) 0.000% 9.986% 0.000% 0.000% 0.000% 1.997%

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

nigeltao avatar Nov 29 '21 22:11 nigeltao

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.

ghost avatar Dec 04 '21 17:12 ghost

Great suggestion. I have created https://github.com/nigeltao/tango-icon-library-pngs to hold the 512x512 PNGs.

No excuse necessary. Strangers welcome!

nigeltao avatar Dec 05 '21 00:12 nigeltao

image

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.

p0nce avatar Jan 26 '22 16:01 p0nce

nigeltao avatar Jan 27 '22 07:01 nigeltao

Some more good images to test against: https://github.com/jhcloos/test_images

dumblob avatar Feb 17 '22 00:02 dumblob

@nigeltao it's nice that qoi-lz4 does better, but better entropy-coding doesn't really fix the lack of vertical intra prediction.

p0nce avatar Feb 19 '22 12:02 p0nce

And some more images: https://www-abclinuxu-cz.translate.goog/blog/programy/2022/5/jxl-from-tree?_x_tr_sl=auto&_x_tr_tl=en&_x_tr_hl=cs&_x_tr_pto=wapp .

dumblob avatar May 22 '22 20:05 dumblob