IEC 15444-2-05:2010 – JPEG 2000 Part 2 Extensions: Technical Overview of the Compound Image File Format Amendment

Understanding the updates to JPEG 2000 for compound document compression and advanced coding features

Introduction and Scope

The IEC 15444 series is identical to the ISO/IEC 15444 standard that defines the JPEG 2000 image coding system. Part 2, formally titled JPEG 2000 Image Coding System — Part 2: Extensions, extends the core coding technology specified in Part 1. The version referred to as IEC 15444-2-05:2010 corresponds to Amendment 5 to ISO/IEC 15444-2:2004, which was published in 2010. This amendment focuses on the updated encapsulation for the compound image file format, commonly known as the JPX file format.

The scope of IEC 15444-2-05:2010 is to provide a file format that can represent compound images – documents that combine continuous-tone imagery (photographs) with discrete-tone elements such as text, graphics, and line art – in a single, highly compressed, and interoperable file. The amendment also updates and clarifies the box structure of the JPX file format to improve consistency with the broader JPEG 2000 family and to enable more efficient handling of multiple codestreams, layers, and composited scenes.

Beyond the file format extensions, the underlying Part 2 standard includes several advanced coding features:

  • Arbitrary wavelet decomposition: permits different wavelet transforms (e.g., reversible 5/3, irreversible 9/7, and custom kernels) per tile or per component.
  • Multi-component transforms (MCT): arbitrary linear transforms applied across multiple image components to decorrelate data beyond the standard RGB-to-YCbCr conversion used in Part 1.
  • Enhanced region-of-interest (ROI) coding: improved scaling-based ROI enabling selectively higher quality in arbitrary shapes.
  • Multiple codestreams: ability to embed several independent JPEG 2000 codestreams within one file to support layering, multi‑view, or variable quality representations.

This article focuses on the key technical aspects introduced by Amendment 5 and the broader Part 2 framework, with an emphasis on compliance considerations for implementers.

Technical Requirements

File Format Extensions (JPX Box Structure)

The amendment updates the JPX file format, which is based on the same box/logical structure as the baseline JP2 file format. A JPX file may contain the following key boxes:

  • File Type Box (ftyp): identifies the file as jpx or jpxb (for fragmented codestreams). The amendment adds new brands to facilitate compound image handling.
  • Header Box (jp2h): includes image metadata such as resolution, colour space (e.g., sRGB, sYCC, ICC profiles).
  • Contiguous Codestream Box (jp2c): carries a single JPEG 2000 codestream. Multiple such boxes may appear for multiple codestreams.
  • Compositing Layer Box (comp): defines how multiple codestreams or images are composited into a final rendered scene. This is critical for compound images where a background photograph is overlaid with high‑contrast text.
  • Animation Box (anim): optional box supporting simple image sequences (for example, a slideshow of compound images).
  • XML Box (xml): permits embedding of metadata in XML for interoperability with other document formats.

The amendment specifically clarifies the semantics of the Compositing Layer Box and the Animation Box to ensure that layers can refer to codestreams via relative offsets and that the rendering order is well defined.

Multi‑Codestream and Compound Image Requirements

When a JPX file contains multiple codestreams, each one must conform to the JPEG 2000 Part 1 or Part 2 syntax, as appropriate. The amendment does not change the codestream syntax but rather the rules for combining codestreams in a single file:

  • Each codestream must be carried in a separate jp2c box (or a jp2f fragment box for fragmented codestreams).
  • If the file uses compositing, the Compositing Layer Box must provide a complete description of how the decoded image surfaces are combined (blending modes, transparency, and composition order).
  • All codestreams must use a consistent colour space for the composite, or the colour transforms defined in the Colour Specification Box must be sufficient to map each component to the common space.

Advanced Transform Parameters

Part 2 allows implementers to define custom wavelet filters and multi‑component transforms within the codestream itself. The amendment does not modify these but reinforces that the associated marker segments (such as MCT marker segments) must be correctly signalled in each codestream.

Comparison of Key Features in JPEG 2000, Part 1 vs Part 2 (as amended)
Feature Part 1 (ISO/IEC 15444-1) Part 2 with Amd 5 (IEC 15444-2-05)
Wavelet filter set Le Gall 5/3 & Daubechies 9/7 only Arbitrary user‑defined filters (up to 25 taps)
Multiple codestreams Not supported Supported via JPX file format & compositing layers
Multi‑component transform (MCT) Fixed 3‑component RCT (reversible) and irreversible Arbitrary matrix transforms, any number of components
ROI coding Scaling‑based ROI (MAXSHIFT) for arbitrary regions Improved scaling‑based and generalised ROI (composite ROIs)
File format container JP2 – single codestream, basic metadata JPX – multiple codestreams, compositing, animation, XML metadata
Compound image support Not explicitly addressed Explicitly defined in Amendment 5: text + image + graphics in one file

Implementation Highlights

Tip: When implementing JPX file parsing, always verify the File Type Box brand. The brand jpx (0x6A707820) implies full JPX support, while jpxb requires base‑JP2 backward compatibility for the first codestream. Follow the branching logic described in clause 5.2 of the amendment to avoid misinterpretation.

For developers building encoders or decoders that target IEC 15444-2-05:2010 compliance, the following highlights are critical:

  • Compositing Layer Box: The comp box must contain a list of layer descriptors, each referencing a codestream by index, its spatial position (in the reference grid), and a blending rule (standard over/under, additive, or subtractive). The amendment provides a normative C‑pseudo code algorithm for reconstructing the final composite image.
  • Animation support: The anim box can specify a sequence of images (from multiple codestreams or the same codestream with a progression) and a frame delay. This is useful for slide‑show presentations of compound images but should not be used for full‑motion video (which is not within the original scope of the standard).
  • Arbitrary wavelet decomposition: The decoder must be prepared to load custom wavelet filter coefficients from the codestream’s marker segments. The Part 2 specification defines the exact syntax for such user‑defined filters; the amendment does not alter this. However, conformance testing can be more challenging when non‑standard filters are used.
  • Colour consistency: If the JPX file uses multiple codestreams that each specify different colour spaces (e.g., one sRGB, another with an ICC profile), the composition should take place after colorimetric mapping to a common profile. The file format may include a Colour Specification Box with a 3×3 matrix or a look‑up table to perform the transformation at decode time.
Warning: Many existing JPEG 2000 libraries (e.g., JasPer, OpenJPEG) support Part 2 features to varying degrees. As of 2026, only OpenJPEG’s “jpwl” branch includes limited JPX compositing. Ensure that your chosen library explicitly claims conformance to IEC 15444-2-05:2010 before relying on its ability to decode multi‑codestream compound images. Some profiles of the standard (such as those for digital cinema) restrict Part 2 features heavily.

Compliance and Testing Notes

To achieve claimed compliance with IEC 15444-2-05:2010, an encoder or decoder must satisfy the conformance requirements specified in the amendment and its parent document, ISO/IEC 15444-2:2004 (which itself incorporates several earlier amendments). The main compliance areas are:

  • Codestream conformance: All codestreams within a JPX file must conform to ISO/IEC 15444-1 (core codestream) or ISO/IEC 15444-2 (extended codestream) as appropriate. In practice, if any codestream uses Part‑2‑only features (custom wavelet, MCT beyond 3×3), the entire file should be labelled with the correct brand.
  • File format conformance: The JPX box structure must follow the normative syntax defined in Annex A. The amendment introduced strict rules for ordering: for example, the Compositing Layer Box must appear before any codestream that it references. A compliant decoder shall reject files where a reference occurs before a necessary box.
  • Test vectors: The ISO/IEC JTC 1/SC 29/WG 1 committee provides a set of conformance test streams. For Amendment 5, the test suite includes several JPX files with two or three codestreams, non‑trivial compositing, and one animation file. Conformance can be verified by comparing the decoder output (decoded pixel data per layer and final composite) against the reference images.
  • Interoperability: Since the compound image file format is designed for archiving, legal documents, and scanned manuscripts, the compliance statement should specify the supported features (e.g., “this product supports JPX up to 4 codestreams and full compositing as per IEC 15444-2-05”).
Good practice: When designing a compliance test plan, include both positive tests (valid compound files with various complexities) and negative tests (invalid box ordering, missing required boxes, unsupported brands). A decoder that gracefully degrades by skipping unknown compositing layers but still decoding each individual codestream can be considered partially conformant, but full compliance requires correct compositing.
Caution: The amendment is specifically for the compound image file format. Implementations that only handle a single codestream in a JP2 container are not required to support JPX compositing. However, if a product claims “JPEG 2000 Part 2 compliance” without qualification, it must include the entire normative specification, including the JPX file format as amended.

Frequently Asked Questions

Q: What is the difference between the JP2 file format and the JPX file format introduced in IEC 15444-2-05?
A: JP2 (from ISO/IEC 15444-1) supports only a single JPEG 2000 codestream and basic metadata. JPX (from Amendment 5 to Part 2) adds the ability to include multiple codestreams in one file, compositing layers to mix those codestreams into a final image, optional animation, and integrated XML metadata. JPX is specifically designed for compound documents where text, graphics, and photographic elements must be stored together with high compression efficiency.
Q: Does the amendment require all decoders to support multiple codestreams?
A: No. A decoder may claim conformance to IEC 15444-2-05 only for the codestream syntax extended features (arbitrary wavelet, MCT, etc.), but not for the JPX file format. However, if the decoder claims to be a JPX reader, it must support the entire box structure, including Compositing Layer and animation. The amendment provides normative clauses for both simple and full JPX readers.
Q: Can I use custom wavelet filters in a compound image file?
A: Yes, as long as each codestream containing custom wavelet filters is correctly signalled in its own marker segments. The JPX file format does not restrict the wavelet filters used inside the codestreams. However, to ensure interoperability, it is recommended to use one of the standard transforms (5/3 reversible or 9/7 irreversible) for the main codestream, and only use custom filters for secondary codestreams (e.g., a binary mask).
Q: Is there any known patent‑related issue with IEC 15444-2-05?
A: The JPEG 2000 family includes a number of essential patents, but the Joint Photographic Experts Group maintains a public statement of licensing terms. Implementers should review the current patent pool covering IEC 15444‑2:2004 and its amendments. As of 2026, the ISO/IEC standard encourages adoption for software that is “available on reasonable and non‑discriminatory (RAND) terms.” It is always advisable to seek legal counsel before commercial deployment.


Technical article prepared in 2026. All standard references apply to IEC 15444-2-05:2010 (ISO/IEC 15444-2:2004/Amd 5:2010). For the latest corrigenda, consult the IEC or ISO webstore.

📥 Standard Documents Download

🔒
Please wait 10 seconds, the download links will appear after the ad loads

Leave a Reply

Your email address will not be published. Required fields are marked *