Tested on the PNG and QOI images in qoi_test_images.zip, and on mandelbrot.png for a large 32768x32768 test case that the reference encoder can't handle (it's limited to 400-megapixel input, whereas this implementation is not).
After this is merged, fuzz.c should be updated to handle QOI files.
After the next version is released, the qoi repo should be PRed to list libplum in the supporting software.
This pull request is free and unencumbered software released into the public domain, under the same Unlicense as libplum.
Spec: https://qoiformat.org/qoi-specification.pdf
Tested on the PNG and QOI images in qoi_test_images.zip, and on mandelbrot.png for a large 32768x32768 test case that the reference encoder can't handle (it's limited to 400-megapixel input, whereas this implementation is not).
After this is merged, fuzz.c should be updated to handle QOI files.
After the next version is released, the qoi repo should be PRed to list libplum in the supporting software.
This pull request is free and unencumbered software released into the public domain, under the same Unlicense as libplum.