JPEG XL
64px | |
Filename extension | .jxl |
---|---|
Internet media type | image/jxl |
Magic number | FF 0A or 00 00 00 0C 4A 58 4C 20 0D 0A 87 0A |
Developed by | <templatestyles src="Plainlist/styles.css"/>
|
Type of format | Lossy/lossless bitmap image format |
Extended from | <templatestyles src="Plainlist/styles.css"/> |
Standard | ISO/IEC 18181 |
Open format? | Yes (royalty-free) |
Website | <templatestyles src="Plainlist/styles.css"/>
|
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]
Contents
Name
- JPEG is the Joint Photographic Experts Group, which is the committee that designed the format.
- X is part of the name of several JPEG standards since 2000: JPEG XT, JPEG XR, JPEG XS.
- L means Long-term because the authors' intention for the format is to replace the legacy JPEG and last as long too.[3]
History
In 2017, JTC1/SC29/WG1 (JPEG) issued a Call for proposals for JPEG XL – the next generation image coding standard.[4]
The file format (bitstream) was frozen on December 25, 2020, meaning that the format is now guaranteed to be decodable by future releases.[5]
Features
- Improved functionality and efficiency compared to traditional image formats (e.g. JPEG, GIF and PNG);
- Image dimensions of over a billion (230-1) pixels on each side;[8]
- Up to 4100 channels i.e grayscale or RGB, optional alpha, and up to 4096 "extra" channels;[8]
- Progressive decoding (by resolution and precision);
- Lossless JPEG transcoding with ~20% size reduction;
- Lossless encoding and lossless alpha encoding;
- Support for both photographic and synthetic imagery;
- Graceful quality degradation across a large range of bitrates;
- Perceptually optimized reference encoder;
- Support for wide color gamut and HDR;
- Support for animated content,
- Efficient encoding and decoding without requiring specialized hardware
- In particular, JPEG XL is about as fast to encode and decode as old JPEG using libjpeg-turbo and an order of magnitude faster to encode and decode compared to HEIC with x265.[8] It is also parallelizable.
- Royalty-free format with an open-source reference implementation.[11]
Technical details
JPEG XL is based on ideas from Google's PIK format and Cloudinary's FUIF format (which was in turn based on FLIF).[12]
The format has a variety of encoding modes. On the legacy side, it has a mode that transcodes legacy JPEG in a more compact way for storage. On the more modern side, it has a lossy mode called VarDCT (variable-blocksize DCT) and a lossless/near-lossless/responsive mode called Modular which optionally uses a modified Haar transform (called "squeeze") and which is also used to encode the DC (1:8 scale) image in VarDCT mode as well as various auxiliary images such as adaptive quantization fields or additional channels like alpha. Both modes can use separate modeling of specific image features: splines, repeating "patches" like text or dots, and noise synthesis. Lossy modes typically use the XYB color space derived from LMS.[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 signalled tree structure and predictor selection per context. Entropy coding is LZ77-enabled and can use both Asymmetric Numeral Systems 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.[8]
Animated (multi-frame) images do not perform advanced inter-frame prediction, though some rudimentary inter-frame coding tools are available:
- a frame can only update part of the canvas;
- a frame can not just replace the contents on the canvas, but also be blended, added or multiplied to it;[14]
- up to four frames[15] can be 'remembered' and referenced using the "patches" coding tool in later frames.[16]
Software
Codec implementation
Initial release | December 27, 2019 |
---|---|
Stable release | 0.3.7 / March 29, 2021 |
Written in | C++ |
Operating system | <templatestyles src="Cslist/styles.css" /> |
License | New BSD License (previously Apache License 2.0) |
Website | {{ |
- JPEG XL Reference Software (libjxl)
- license: New BSD License (previously Apache License 2.0)
- contains (among others):
- coder
cjxl
- decoder
djxl
- tool for benchmarking speed and quality of image codecs
benchmark_xl
- GIMP and Gtk pixbuf plugin
file-jxl
- coder
Official support
- ImageMagick[17] – toolkit for raster graphics processing
- XnView MP[18] – viewer and editor of raster graphics
- MConverter[19] – online media converter
- Squoosh[20] – WebAssembly-based image converter (online media converter available)
- nomacs[21] – free and open-source cross operating system image viewer, also offers minor editing features
- gThumb[22] – free Linux image viewer
- ImageGlass[23] – free and open-source Windows image viewer
Unofficial support
- Qt / KDE apps[24] – via plugin
- Microsoft Windows[25] – via WIC plugin, i.e. for viewing in Photo Viewer, File Explorer etc.
- macOS[26] – via standalone app and Quick Look plugin
- GIMP[3] – raster graphics editor; plugin for GIMP 2.10 available
Preliminary support
- Chromium[27] – web browser; in testing (as Chrome Beta and Edge Canary)
- Firefox[28] – web browser; in testing (as Firefox Nightly)
Standardization status
Common Name | Part | First public release date (First edition) | ISO/IEC Number | Formal Title |
---|---|---|---|---|
JPEG XL | Part 1 | under development, planned for 2021 | ISO/IEC FDIS 18181-1 | JPEG XL Image Coding System — Part 1: Core coding system |
Part 2 | under development, planned for 2021 | ISO/IEC FDIS 18181-2 | JPEG XL Image Coding System — Part 2: File format | |
Part 3 | under development, planned for 2022 | ISO/IEC WD 18181-3 | JPEG XL Image Coding System — Part 3: Conformance testing | |
Part 4 | under development, planned for 2022 | ISO/IEC DIS 18181-4 | JPEG XL Image Coding System — Part 4: Reference software |
References
<templatestyles src="Reflist/styles.css" />
Cite error: Invalid <references>
tag; parameter "group" is allowed only.
<references />
, or <references group="..." />
External links
- No URL found. Please specify a URL here or add one to Wikidata.
- Reference implementation on GitHub
- builds for Windows:
- Windows Bin Builds (the page also contains many other programs)
- AppVeyor
- builds for Windows:
- Community website
- ↑ 1.0 1.1 Lua error in package.lua at line 80: module 'strict' not found.
- ↑ https://tech.slashdot.org/story/19/08/17/1855214/can-jpeg-xl-become-the-next-free-and-open-image-format
- ↑ 3.0 3.1 https://gitlab.gnome.org/GNOME/gimp/-/issues/4681
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ 8.0 8.1 8.2 8.3 Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ https://flif.info/#update
- ↑ Lua error in package.lua at line 80: module 'strict' not found.
- ↑ https://github.com/libjxl/libjxl/blob/95eea7e/lib/jxl/frame_header.h#L168-L207
- ↑ https://github.com/libjxl/libjxl/blob/95eea7e/lib/jxl/common.h#L85-L86
- ↑ https://github.com/libjxl/libjxl/blob/95eea7e/lib/jxl/frame_header.h#L303-L305
- ↑ https://imagemagick.org/script/formats.php#supported
- ↑ https://www.xnview.com/mantisbt/view.php?id=1845
- ↑ https://mconverter.eu
- ↑ https://squoosh.app
- ↑ https://nomacs.org/
- ↑ https://ubuntuhandbook.org/index.php/2021/04/gthumb-3-11-3-adds-jpeg-xl-support/
- ↑ https://imageglass.org/
- ↑ https://github.com/novomesk/qt-jpegxl-image-plugin
- ↑ https://github.com/mirillis/jpegxl-wic
- ↑ https://github.com/yllan/JXLook
- ↑ https://bugs.chromium.org/p/chromium/issues/detail?id=1178058
- ↑ https://bugzilla.mozilla.org/show_bug.cgi?id=1539075
- Pages with reference errors
- Articles with short description
- Pages with broken file links
- Articles with unsourced statements from April 2021
- Articles with invalid date parameter in template
- Official website missing URL
- JPEG
- Raster graphics file formats
- Graphics standards
- ISO standards
- Open formats
- Image compression
- ITU-T recommendations