This article is in list format but may read better as prose. You can help by converting this article, if appropriate. Editing help is available. (April 2022)
JPEG XL
JPEG XL logo.svg
Filename extension
.jxl
Internet media type
image/jxl
Magic numberFF 0A or 00 00 00 0C 4A 58 4C 20 0D 0A 87 0A
Developed by
Type of formatLossy/lossless bitmap image format
Extended from
StandardISO/IEC 18181
Open format?Yes (royalty-free)
Website

JPEG XL is a royalty-free raster-graphics file format that supports both lossy and lossless compression. It is designed to outperform existing raster formats and thus to become their universal replacement.[2]

Name

Features

The main features are:[4][5]

Technical details

JPEG XL codec architecture diagram
JPEG XL codec architecture diagram

JPEG XL is based on ideas from Google's PIK format and Cloudinary's FUIF format (which was in turn based on FLIF).[10]

The format is mainly based on two encoding modes:

Both modes can be assisted by separate modeling of specific image features, unknown in other codecs at the time of creating the format:[a]

Lossy modes typically use the XYB color space derived from LMS.[12]

JPEG XL can losslessly reencode existing JPEG files by directly copying JPEG's DCT block coefficients to 8x8 VarDCT blocks, making smaller filesizes possible due to better entropy coding. JPEG reconstruction data allows transcoding back to the original JPEG file, although constraints limit support for some files.[13]

Prediction is run using a pixel-by-pixel decorrelator without side information, including a parametrized self-correcting weighted ensemble of predictors. Context modeling includes specialized static models and powerful meta-adaptive models that take local error into account, with a signaled tree structure and predictor selection per context. Entropy coding is LZ77-enabled and can use both asymmetric numeral systems (ANS) and Huffman coding (for low complexity encoders or for reducing overhead of short streams).[citation needed]

It defaults to a visually near-lossless setting that still provides good compression.[6]

Animated (multi-frame) images do not perform advanced inter-frame prediction, though some rudimentary inter-frame coding tools are available:

Software

Codec implementation

JPEG XL Reference Software (libjxl)
Libjxl wordmark.svg
Libjxl 0.6.1 screenshot.png
Initial releaseDecember 27, 2019; 2 years ago (2019-12-27)
Stable release
0.6.1 / October 30, 2021; 6 months ago (2021-10-30)
Repositoryhttps://github.com/libjxl/libjxl[17] Edit this on Wikidata
Written inC++
Operating system
LicenseNew BSD License (previously Apache License 2.0)
Websitejpeg.org/jpegxl Edit this on Wikidata

Official support

Unofficial support

Preliminary support

History

In 2017, JTC1/SC29/WG1 (JPEG) issued a call for proposals for JPEG XL – the next generation image coding standard.[32]

The file format (bitstream) was frozen on 25 December 2020[33] and formally standardized on 13 October 2021.[34] Any file compliant to this standard is guaranteed to be decodable by all future releases.

Standardization status

Common Name Part First public release date (First edition) ISO/IEC Number Formal Title
JPEG XL Part 1 30 March 2022 ISO/IEC 18181-1 JPEG XL Image Coding System — Part 1: Core coding system
Part 2 13 October 2021 ISO/IEC 18181-2 JPEG XL Image Coding System — Part 2: File format
Part 3 under development, planned for 2022 ISO/IEC DIS 18181-3 JPEG XL Image Coding System — Part 3: Conformance testing
Part 4 under development, planned for 2022 ISO/IEC FDIS 18181-4 JPEG XL Image Coding System — Part 4: Reference software

Notes

  1. ^ Noise synthesis is an exception, as it's also featured in AVIF created before JPEG XL.[11]

References

  1. ^ a b "fuif/README.md". GitHub. Archived from the original on 2021-04-24. Retrieved 2019-04-04.
  2. ^ "Can JPEG XL Become the Next Free and Open Image Format? - Slashdot". Archived from the original on 2021-12-30. Retrieved 2021-02-20.
  3. ^ a b "Support for reading/Writing JPEG XL images (#4681) · Issues · GNOME / GIMP". Archived from the original on 2021-12-30. Retrieved 2021-02-27.
  4. ^ "JPEG XL reaches Committee Draft" (html). JPEG Org. 3 August 2019. Archived from the original on 3 August 2019. Retrieved 3 August 2019. The current contributors have committed to releasing it publicly under a royalty-free and open source license.
  5. ^ "JPEG XL White Paper" (PDF). JPEG Org. 22 January 2021. Archived (PDF) from the original on 2 May 2021. Retrieved 17 March 2021.
  6. ^ a b c d Sneyers, Jon. "How JPEG XL Compares to Other Image Codecs". Cloudinary. Archived from the original on 2021-12-30. Retrieved 2021-02-19.
  7. ^ Jon Sneyers (2021-01-03). "JPEG XL as PSD transfer/storage alternative". Reddit. Archived from the original on 2021-12-30. Retrieved 2021-06-07.
  8. ^ Jon Sneyers (2021-06-03). "Progressive Transcoding". GitHub. Archived from the original on 2021-12-30. Retrieved 2021-06-07.
  9. ^ "jpeg / JPEG XL Reference Software". GitLab. Archived from the original on 2021-12-30. Retrieved 2021-02-19.
  10. ^ "FLIF - Free Lossless Image Format". Archived from the original on 2021-12-21. Retrieved 2021-04-06.
  11. ^ Peter de Rivaz; Jack Haughton (2018). "AV1 Bitstream & Decoding Process Specification" (PDF). Alliance for Open Media. pp. 350–360. Retrieved 2022-01-15.
  12. ^ Alakuijala, Jyrki; van Asseldonk, Ruud; Boukortt, Sami; Szabadka, Zoltan; Bruse, Martin; Comsa, Iulia-Maria; Firsching, Moritz; Fischbacher, Thomas; Kliuchnikov, Evgenii; Gomez, Sebastian; Obryk, Robert; Potempa, Krzysztof; Rhatushnyak, Alexander; Sneyers, Jon; Szabadka, Zoltan; Vandervenne, Lode; Versari, Luca; Wassenberg, Jan (6 September 2019). Tescher, Andrew G; Ebrahimi, Touradj (eds.). "JPEG XL next-generation image compression architecture and coding tools". Applications of Digital Image Processing XLII. 11137: 20. Bibcode:2019SPIE11137E..0KA. doi:10.1117/12.2529237. ISBN 9781510629677.
  13. ^ Sneyers, Jon (2021-12-10). "Feature request: allow jbrd to reconstruct a part of the file when it's not possible for the whole file". GitHub.
  14. ^ "JPEG XL reference implementation". GitHub. 3 December 2021. Archived from the original on 30 December 2021. Retrieved 24 June 2021.
  15. ^ "JPEG XL reference implementation". GitHub. 3 December 2021. Archived from the original on 30 December 2021. Retrieved 24 June 2021.
  16. ^ "JPEG XL reference implementation". GitHub. 3 December 2021. Archived from the original on 30 December 2021. Retrieved 24 June 2021.
  17. ^ "PLEASE DO NOT OPEN NEW ISSUES HERE". Retrieved 27 May 2021.
  18. ^ "ImageMagick". Archived from the original on 2022-01-02. Retrieved 2021-03-01.
  19. ^ "0001845: JPEG XL - MantisBT". Archived from the original on 2021-11-07. Retrieved 2021-03-01.
  20. ^ "GThumb Image Viewer 3.11.3 Adds JPEG XL (.JXL) Support [Ubuntu PPA] | UbuntuHandbook". Archived from the original on 2021-12-30. Retrieved 2021-05-17.
  21. ^ "IrfanView PlugIns". Archived from the original on 2021-12-28. Retrieved 2021-12-03.
  22. ^ "ExifTool by Phil Harvey". Retrieved 2022-01-19.
  23. ^ "Release v8.11.0 · libvips/libvips · GitHub". Retrieved 2022-01-30.
  24. ^ "KaOS 2021.06". Retrieved 2022-01-31.
  25. ^ "FFmpeg Lands JPEG-XL Support". www.phoronix.com. Retrieved 2022-04-24.
  26. ^ "KDE Ships Frameworks 5.89.0". KDE Community. 2021-12-11. Retrieved 2022-04-28.
  27. ^ "Qt-jpegxl-image-plugin". GitHub. December 2021. Archived from the original on 2021-03-03. Retrieved 2021-03-01.
  28. ^ "Jpeg Xl Wic". GitHub. 27 November 2021. Archived from the original on 30 December 2021. Retrieved 23 March 2021.
  29. ^ "JXLook". GitHub. December 2021. Archived from the original on 2021-12-30. Retrieved 2021-03-01.
  30. ^ "1178058 - chromium - an open-source project to help move the web forward. - Monorail". Archived from the original on 2021-12-30. Retrieved 2021-03-01.
  31. ^ "1539075 - (JPEG-XL) Implement support for JPEG XL (Image/JXL)". Archived from the original on 2022-01-04. Retrieved 2021-03-01.
  32. ^ "JPEG - Next-Generation Image Compression (JPEG XL) Final Draft Call for Proposals". Jpeg.org. April 23, 2018. Archived from the original on 30 December 2021. Retrieved 29 May 2018.
  33. ^ "v0.2 JPEG XL Reference Software". GitLab. Archived from the original on 2021-10-20. Retrieved 2021-02-19.
  34. ^ ISO/IEC 18181-2:2021 Information technology — JPEG XL image coding system — Part 2: File format