Traneptora / jxlatte

Java JPEG XL decoder
MIT License
44 stars 5 forks source link

jxlatte

Work-in-progress pure java JPEG XL decoder

Compiling

JXLatte is built with the Meson build system.

To build, create a build directory, for example, with mkdir build && cd build.

Then run meson setup ../ to set up the build directory, and ninja to compile JXLatte.

Running

JXLatte can be executed just like any normal jar file:

java -jar jxlatte.jar samples/art.jxl output.png

The JAR can also be used as a library. To use it, add it to your application's classpath.

InputStream input = someInputStream;
OutputStream output = someOutputStream;
JXLDecoder decoder = new JXLDecoder(input);
JXLImage image = decoder.decode();
PNGWriter writer = new PNGWriter(image);
writer.write(output);

Features

Supported features:

Features not yet supported at this time: