All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- API: New functions to decode extra channels:
JxlDecoderExtraChannelBufferSize
andJxlDecoderSetExtraChannelBuffer
. - API: New function
JxlEncoderInitBasicInfo
to initializeJxlBasicInfo
(only needed when encoding). NOTE: it is now required to call this function when using the encoder. Padding was added to the struct for forward compatibility. - API: Support for encoding oriented images.
- API: FLOAT16 support in the encoder API.
- Rewrite of the GDK pixbuf loader plugin. Added proper color management and animation support.
- Rewrite of GIMP plugin. Added compression parameters dialog and switched to using the public C API.
- Debian packages for GDK pixbuf loader (
libjxl-gdk-pixbuf
) and GIMP (libjxl-gimp-plugin
) plugins. cjxl
/djxl
support forstdin
andstdout
.
- API: Renamed the field
alpha_associated
inJxlExtraChannelInfo
toalpha_premultiplied
, to match the corresponding name inJxlBasicInfo
. - Improved the 2x2 downscaling method in the encoder for the optional color channel resampling for low bit rates.
- Fixed: the combination of floating point original data, XYB color encoding,
and Modular mode was broken (in both encoder and decoder). It now works.
NOTE: this can cause the current encoder to write jxl bitstreams that do
not decode with the old decoder. In particular this will happen when using
cjxl with PFM, EXR, or floating point PSD input, and a combination of XYB
and modular mode is used (which caused an encoder error before), e.g.
using options like
-m -q 80
(lossy modular),-d 4.5
or--progressive_dc=1
(modular DC frame), or default lossy encoding on an image where patches end up being used. There is no problem when using cjxl with PNG, JPEG, GIF, APNG, PPM, PGM, PGX, or integer (8-bit or 16-bit) PSD input. libjxl
static library now bundles skcms, fixing static linking in downstream projects when skcms is used.- Spline rendering performance improvements.
- Butteraugli changes for less visual masking.
- API: New function to decode the image using a callback outputting a part of a row per call.
- API: 16-bit float output support.
- API:
JxlDecoderRewind
andJxlDecoderSkipFrames
functions to skip more efficiently to earlier animation frames. - API:
JxlDecoderSetPreferredColorProfile
function to choose color profile in certain circumstances. - encoder: Adding
center_x
andcenter_y
flags for more control of the tile order. - New encoder speeds
lightning
(1) andthunder
(2).
- Re-licensed the project under a BSD 3-Clause license. See the LICENSE and PATENTS files for details.
- Full JPEG XL part 1 specification support: Implemented all the spec required to decode files to pixels, including cases that are not used by the encoder yet. Part 2 of the spec (container format) is final but not fully implemented here.
- Butteraugli metric improvements. Exact numbers are different from previous versions.
- Memory reductions during decoding.
- Reduce the size of the jxl_dec library by removing dependencies.
- A few encoding speedups.
- Clarify the security policy.
- Significant encoding improvements (~5 %) and less ringing.
- Butteraugli metric to have some less masking.
cjxl
flag--speed
is deprecated and replaced by the--effort
synonym.
- API for returning a downsampled DC was deprecated
(
JxlDecoderDCOutBufferSize
andJxlDecoderSetDCOutBuffer
) and will be removed in the next release.
- Fix a rounding issue in 8-bit decoding.
- Fix a bug that could result in the generation of invalid codestreams as well as failure to decode valid streams.
- New encode-time options for faster decoding at the cost of quality.
- Man pages for cjxl and djxl.
- Memory usage improvements.
- Faster decoding to 8-bit output with the C API.
- GIMP plugin: avoid the sRGB conversion dialog for sRGB images, do not show a console window on Windows.
- Various bug fixes.
- Improved box parsing.
- Improved metadata handling.
- Performance and memory usage improvements.
- Performance improvements for small images.
- Add a (flag-protected) non-high-precision mode with better speed.
- Significantly speed up the PQ EOTF.
- Allow optional HDR tone mapping in djxl (--tone_map, --display_nits).
- Change the behavior of djxl -j to make it consistent with cjxl (#153).
- Improve image quality.
- Improve EXIF handling.
- Fix embedded ICC encoding regression #149.
- New experimental Butteraugli API (
jxl/butteraugli.h
). - Encoder improvements to low quality settings.
- Bug fixes, including fuzzer-found potential security bug fixes.
- Fixed
-q 100
and-d 0
not triggering lossless modes.
- Minor change to the Decoder C API to accommodate future work for other ways to provide input.
- Future decoder C API changes will be backwards compatible.
- Lots of bug fixes since the previous version.
- JPEG XL bitstream format is frozen. Files encoded with 0.2 will be supported by future versions.
- Files encoded with previous versions are not supported.
- Initial release of an encoder (
cjxl
) and decoder (djxl
) that work together as well as a benchmark tool for comparison with other codecs (benchmark_xl
). - Note: JPEG XL format is in the final stages of standardization, minor changes to the codestream format are still possible but we are not expecting any changes beyond what is required by bug fixing.
- API: new decoder API in C, check the
examples/
directory for its example usage. The C API is a work in progress and likely to change both in API and ABI in future releases.