JPEG XL libraries for Java
The JDK’s ImageIO has no JPEG XL support and there is no mature open-source JXL encoder for the JVM.
- JXLatte is a pure Java decoder: it reads still JXL images (lossy, lossless, recompressed JPEG) and writes PNG. No native libraries, so it runs anywhere Java runs. It doesn’t decode animation or progressive previews yet.
To write JPEG XL from Java, call the cjxl command-line tool, or use a binding to libjxl or ImageMagick that you build yourself.
- JXLatte JXLatte is a pure Java JPEG XL decoder. How to build it, decode a JXL file, convert JXL to PNG, read size, alpha and ICC profile, with code examples.