A pure python JPEG XL decoder. It is currently very incomplete.
jxl_decode can be installed from PyPI.
pip install jxl_decode
I am aiming to make this decoder as portable as possible. As such it will ideally have minimal dependencies outside of the standard library. I may use a dependency for PNG output, if I don't write one myself.
- Recent Python 3 (developed with 3.11, but may work with some older versions)
We are a long way away from it, but this is how I intend the decoder to work from the command line:
jxl_decode input_file.jxl [output_file.png]
- Add tests (and possibly some more useful methods) to Bitstream class.
- Decide on internal representation of image data (NumPy array?)
- Define external interfaces by decoding PPM image.
- PNG output of decoded images.
- Decode JPEG images.
- Start on JPEG XL support.
This software is available under the MIT Licence.