Sustainability of Digital Formats: Planning for Library of Congress Collections

Introduction | Sustainability Factors | Content Categories | Format Descriptions | Contact
Format Description Categories >> Browse Alphabetical List

JPEG XL File Format

>> Back
Table of Contents
Format Description Properties Explanation of format description terms

Identification and description Explanation of format description terms

Full name JPEG XL File Format [From ISO/IEC 18181-2 Information technology — JPEG XL Image Coding System — Part 2: File Format]
Description

JPEG XL is a raster-graphics image file format, designed to support lossy and lossless compression, particularly for display on the web and the needs for the web environment on a multitude of devices. JPEG XL is being developed to outperform other popular web image formats such as PNG, JPEG 2000, GIF, and WebP with higher quality images and improved compression ratios.

The JPEG XL file format has two forms:

  • A 'naked' codestream. In this case, only the image/animation data itself is stored, and no additional metadata can be included. Such a file starts with the bytes 0xFF0A (the JPEG marker for "start of JPEG XL codestream").
  • An ISO_BMFF-based container, a box-based container that includes a JPEG XL codestream box (jxlc), and can optionally include other boxes with additional information, such as Exif metadata. In this case, the file starts with the bytes "0x0000000C 4A584C20 0D0A870A"

The JPEG XL container can include three different types of metadata:

  • Exif
  • XMP
  • JUMBF

This metadata can include a host of information such as camera settings or GPS coordinates. Any image rendering-impacting information such as Exif orientation is ignored with information in the codestream taking precedence. The file format container allows this type of metadata to be stored either uncompressed or by Brotli-compression. This metadata can also be essential for JPEG XL to losslessly recompress existing JPEG files. The "jbrd" box, the JPEG Bitstream Reconstruction Data, contains the information needed to reconstruct the bit-identical file. The JPEG bitstream reconstruction data uses the image data along with any other metadata present sch as Exif, XMP, or JUMBF, the original JPEG file can be reconstructed. This inherent compatibility allows for an efficient transition from JPEG formats to JPEG XL without the need to store two files.

The "X" of the JPEG XL file name is based in part on the JPEG group's naming convention for many of its new standards since 2000 including, JPEG XT, JPEG XR, and JPEG XS. The authors used the "L" as an indication of the hopeful longevity of the file format as it will replace the legacy JPEG. Comments welcome.

See JPEG XL pages on the JPEG website and JPEG_XL for information on the JPEG XL Image Encoding.

Production phase Used most often for middle- and final-state archiving or end-user delivery.Comments welcome.
Relationship to other formats
    Contains JPEG_XL, JPEG XL Image Encoding
    Extension of FLIF, Free Lossless Image Format. Not described at this time.
    Extension of PIK, PIK Image File Format. Not described at this time.
    Subtype of ISO_BMFF, ISO Base Media File Format

Local use Explanation of format description terms

LC experience or existing holdings The Library of Congress does not have any JXL files inventoried in its collections as of October 2024.
LC preference See the Library of Congress Recommended Formats Statement (RFS) for preferences for Still Image content.

Sustainability factors Explanation of format description terms

Disclosure Fully disclosed. This is an ISO published standard specified in the ISO/IEC 18181-2:2021 Information technology — JPEG XL Image Coding System — Part 2: File Format standard.
    Documentation

As of March 2022, the file format specification of this standard is in published status. ISO/IEC 18181-2 documented format specifications are broken into four parts. Part 1 of the format specifications was fully published in March 2022, while Part 2 was published in October 2021. Parts 3 and 4 remain in development.

Part 1 carries the running title Part 1: Core coding system. As stated on the JPEG group's own description of the standards, Part 1: "Defines the JPEG XL codestream and decoder, which can be used for lossy encoding, lossless encoding, and lossless re-compression of existing JPEG images."

Part 2 carries the running title Part 2: File Format. Part 2, "specifies an extensible box-based file format which adds support for metadata (e.g. Exif and JUMBF) and legacy JPEG bitstream reconstruction data."

Part 3 carries the running title: Conformance testing. As stated by the JPEG group, this part, "provides test material and procedures to validate proprietary solutions against the standard specification."

Part 4 carries the running title Part 4: Reference software. Part 4 "provides a free and open source, royalty-free JPEG XL reference implementation."

Adoption

Adoption of the JPEG XL encoding and file format appears limited at this time. Few active web browsers support JPEG XL file display with a currently monitored list found on GitHub. This list includes various types of JPEG XL Software Support and its stated purpose is to, "point end-users to software that can read/write jxl and keep track of the adoption status of jxl."

JPEGXL.info maintains a list of supported software and browsers including

Sample JPEG XL files and conformance testing can be found at https://github.com/libjxl/conformance.

Comments welcome.

    Licensing and patents See JPEG_XL.
Transparency See JPEG_XL.
Self-documentation

JPEG XL files can contain three types of metadata including Exif, XMP, and JUMBF. See Identification and Description. The JPEG XL container allows the listed metadata to be stored via Brotli-compression or uncompressed. If using Brotli-compression, the box type is defined as "brob" and the first four bytes of the box contents define the actual box type that it represents.

Per Jon Sneyers' JPEG XL documentation on GitLab, there is a clear separation between metadata and image data. Whatever is needed to correctly display the image is considered to be image data including elements such as ICC profiles and Exif orientation. The developers goal is to reduce the ambiguity and potential for incorrect implementations by different applications. Remaining metadata such as Exif or XMP, can be stored in the container format but has no impact on image rendering. Exif orientation for example, is a field ignored by applications since the orientation defined in the codestream takes precedence. This metadata can be done without affecting the image display.

Accessibility Features

JPEG XL has some support for enhanced accessibility with progressive decoding which allows users to see an image before it's fully downloaded, which is especially useful when bandwidth is low. Its metadata options also provide options for image description.

External dependencies None.
Technical protection considerations None.

Quality and functionality factors Explanation of format description terms

Still Image
Normal rendering See JPEG_XL for characteristics of the image encoding in a file with the .jxl extension.
Clarity (high image resolution) See JPEG_XL for characteristics of the image encoding.
Color maintenance See JPEG_XL.
Support for vector graphics, including graphic effects and typography See JPEG_XL.
Support for multispectral bands See JPEG_XL.
Functionality beyond normal rendering See JPEG_XL.

File type signifiers and format identifiers Explanation of format description terms

Tag Value Note
Filename extension jxl
See IANA.
Internet Media Type image/jxl
See IANA.
Magic numbers FF 0A or 00 00 00 0C 4A 58 4C 20 0D 0A 87 0A
Via the Wikipedia entry for JPEG XL.
Magic numbers 0xFF0A
The "naked" codestream form of the JPEG XL file format starts with these bytes which is the JPEG marker for "start of JPEG XL codestream." See JPEG XL Reference Software GitLab.
Other NF0080
See https://www.archives.gov/files/lod/dpframework/id/NF00802.ttl
Pronom PUID fmt/1485
See https://www.nationalarchives.gov.uk/pronom/fmt/1485.
Wikidata Title ID Q72885392
See https://www.wikidata.org/wiki/Q72885392.
Wikidata Title ID Q99738405
Wikidata entry for libjxl, the JPEG XL reference implementation. See https://www.wikidata.org/wiki/Q99738405.

Notes Explanation of format description terms

General

See JPEG_XL

History

See JPEG_XL


Format specifications Explanation of format description terms


Useful references

URLs


Last Updated: 11/07/2024