Skip to content

Review test coverage and report score to Interop team #1

@foolip

Description

@foolip

@hjanuschka added a lot of tests in web-platform-tests/wpt#58481 and we should review which of the features and web integration points in the README are now sufficiently tested.

Features of JPEG XL that should be tested:

  • High bit depth: Test for 8, 10, 12, and 16-bit depths.
  • Wide gamut: Test Display P3, Adobe RGB, Rec.2020, ProPhoto RGB, etc.
  • HDR: Test tone mapping (PQ/HLG) and gain maps (ISO 21496-1)
  • ICC profiles: Test exotic/uncommon use of ICC profiles.
  • CMYK: Test using the de-facto standard conversion between sRGB and CMYK.
  • VarDCT: Test at least the largest and smallest block sizes, and smaller/larger than allowed by spec if the bitstream can express it.
  • Modular mode: Test both lossy and lossless mode.
  • Alpha channel: Test with VarDCT and modular mode.
  • Progressive Rendering: Align on how browsers should render just the DC data, and whether to support progressive_dc which is even further downsampled.
  • Lossless Transcoded JPEG: Test basic support.
  • Orientation: Test that orientation in codestream is respected and EXIF orientation is ignored.
  • Animations: Test basic support.
  • Layers: Test basic support.
  • JPEG XL art: Support for minimal JPEG XL files using modular mode to produce JPEG XL art (may be sensitive to minor differences in decoders)

Web integration points to test:

  • <img>, <picture> & <source>
  • <video poster>
  • <input type=image>
  • <embed>, <object> & <iframe>
  • <link rel=preload as=image>
  • SVG <image>
  • CSS background-image, content, image-set(), list-style-image
  • Canvas (2D, WebGL, WebGPU) including createImageBitmap() and Float16Array
  • ImageDecoder API

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions