aaaaaa123456789 / libplum

Image-handling library that allows reading and writing common image file formats
The Unlicense
12 stars 6 forks source link

Implement QOI image format #10

Open Rangi42 opened 10 months ago

Rangi42 commented 10 months ago

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.