Conformance

June 20, 2022 ยท View on GitHub

This repository contains test bitstreams and reference decoded images for testing conformance of JPEG XL decoders. It can also be useful to test applications with JPEG XL support.

The following table gives a rough overview of some of the coding tools and features that are being tested with each test case:

test casewhat it tests
alpha_nonpremultipliedModular mode, alpha channel, 12-bit
alpha_premultipliedVarDCT mode, premultiplied alpha channel, 12-bit color, 16-bit alpha
alpha_triangleModular mode, alpha channel, 9-bit
animation_icos4DVarDCT mode, alpha channel, animation
animation_newtons_cradleModular mode, Palette, animation
animation_splineSplines, animation
bench_oriented_BRGContainer, VarDCT mode, JPEG reconstruction, Orientation, ICC profile
bicyclesModular mode, Squeeze, XYB
bikeVarDCT mode
blendmodesModular mode, various blend modes, 12-bit
cafeContainer, VarDCT mode, JPEG reconstruction, chroma upsampling
cmyk_layersModular mode, CMYK (kBlack channel), layers, large ICC profile
delta_paletteModular mode, Palette with delta entries
grayscaleVarDCT mode, Grayscale ICC profile
grayscale_jpegContainer, VarDCT mode, JPEG reconstruction, Grayscale
grayscale_public_universityModular mode, Squeeze, Grayscale
lossless_pfmModular mode, lossless 32-bit float
lz77_flowerModular mode, lz77
noiseNoise
opsin_inverseOpsinInverseMatrix
patchesVarDCT mode, Patches
patches_losslessModular mode, Patches
progressiveVarDCT mode, LF frame (Modular + Squeeze), TOC permutation, HF passes
spotModular mode, two spot colors, two layers, 16-bit ProPhoto
sunset_logoModular mode, RCT, 10-bit, Orientation, two layers
upsamplingVarDCT mode, alpha channel, upsampling

Downloading/uploading testcases

Run ./scripts/install_hooks.sh to install hooks to automatically download upon checkout (and upload upon commit) binary blobs to GCP. Write access is required for uploads. An existing installation of gsutil is required for both download and upload.

Installation instructions for gsutil can be found at https://cloud.google.com/storage/docs/gsutil_install

The hooks will not run on clone, so you should run ./scripts/download_and_symlink.sh manually after cloning.