Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/traneptora/jxlatte
Java JPEG XL decoder
https://github.com/traneptora/jxlatte
Last synced: 14 days ago
JSON representation
Java JPEG XL decoder
- Host: GitHub
- URL: https://github.com/traneptora/jxlatte
- Owner: Traneptora
- License: mit
- Created: 2022-10-22T14:16:46.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T03:52:54.000Z (16 days ago)
- Last Synced: 2024-10-29T04:32:06.481Z (16 days ago)
- Language: Java
- Homepage:
- Size: 16.5 MB
- Stars: 43
- Watchers: 3
- Forks: 6
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jxlatte
Work-in-progress pure java JPEG XL decoder## Compiling
JXLatte is built with the [Meson build system](https://mesonbuild.com/).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:```sh
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.
```java
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:
- All static Modular images
- All lossless images
- All JXL Art
- All Lossy Modular images
- All static VarDCT Images
- All JPEG reconstructions
- Other static VarDCT images
- Varblock Visualization
- Output:
- PNG
- SDR
- HDR
- PFMFeatures not yet supported at this time:
- Progressive Decoding
- Region-of-interest Decoding
- Animation