Java JPEG XL decoder
wrapped libjxl by JNA and implemented as a Java ImageIO SPI
$ brew install jpeg-xl
-Djna.library.path=/opt/homebrew/lib
BufferedImage image = ImageIO.read(Paths.get("/foo/bar.jxl").toFile());
- based on
- https://github.com/libjxl/libjxl
- https://github.com/Dwedit/JxlSharp/blob/main/JxlSharp/JXL.cs
- https://github.com/libjxl/libjxl/tree/v0.6.x/tools/jni/org/jpeg/jpegxl/wrapper (jni!!!)
- https://github.com/Traneptora/jxlatte (pure java!!!)
jna version doesn't work well0.7.0 works finedifferent result per every execution (maybe memory related?)
brew updated to 0.7.0donejna version spi