Skip to content

Fraetor/jxl_decode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jxl_decode

A pure python JPEG XL decoder. It is currently very incomplete.

Installation

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.

Requirements

  • Recent Python 3 (developed with 3.11, but may work with some older versions)

Development Requirements

Usage

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]

Roadmap/To Do

  • 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.

Licence

This software is available under the MIT Licence.