I made another Java implementation, an SPI implementation as a proof-of-concept.
An SPI is a Java technique with which you tell the standard library that a new file type exists, and point it to the codecs. This way any application that loads images can now load QOI images. My example program registers the SPI, then loads images using the familiar syntax:
I made another Java implementation, an SPI implementation as a proof-of-concept.
An SPI is a Java technique with which you tell the standard library that a new file type exists, and point it to the codecs. This way any application that loads images can now load QOI images. My example program registers the SPI, then loads images using the familiar syntax:
instead of a call to a 3rd party function.
Next, I'm going to add an encoder SPI.
https://github.com/MarkJeronimus/qoi-java-spi
[edit] encoder done too.