jpegxl

edit

WPT coverage of the tests of jpegxl at the revision 5602b0f210e3. The tests link to their results in the browsers on wpt.fyi. The tentative tests (experimental features) and the reftests are listed separately from the stable tests.

GroupPassingTestsDisabledPass rate
Stable912075%
Tentative000–
Reftests3451067%
All4363068%

Failure reasons

The tests that do not pass (failing or disabled), by kind of reason. A test with several reasons counts once per kind.

  • BUG: 4
  • NOT IMPLEMENTED: 16

Stable tests

TestResultSubtestsKindDescription
alpha-vardct.htmlPass1 / 1
canvas-decode-paths-webgpu.https.htmlPass1 / 1
css-image-usage.htmlPass1 / 1
hdr-pq-intensity-target.htmlFail1 / 2NOT IMPLEMENTED1 of 2 subtests: the intensity_target of a PQ image as the peak of its tone mapping: Meziantou.Framework.Imaging reads it but does not report it, so the PQ images without content light level are tone mapped from the peak of PQ (10,000 cd/m2), and the image that states a peak of 600 cd/m2 is not brighter than the one that states 10,000 cd/m2
html-img.htmlPass2 / 2
html-input-image.htmlPass1 / 1
html-preload-image.htmlPass1 / 1
imagedecoder-animation.https.htmlFail0 / 4NOT IMPLEMENTEDthe ImageDecoder of WebCodecs
imagedecoder.https.htmlFail0 / 1NOT IMPLEMENTEDthe ImageDecoder of WebCodecs
lossless-jpeg-transcode.htmlPass1 / 1
modular-lossy.htmlPass1 / 1
svg-image-element.htmlPass1 / 1

Reftests

TestResultVariantsKindDescription
3x3_jpeg_recompression.htmlPass1 / 1
3x3_srgb_lossless.htmlPass1 / 1
3x3_srgb_lossy.htmlPass1 / 1
3x3a_srgb_lossless.htmlPass1 / 1
3x3a_srgb_lossy.htmlPass1 / 1
alpha-decode-reftest.htmlPass1 / 1
alpha-modular-reftest.htmlPass1 / 1
animated-img-timeout.htmlPass1 / 1
basic-decode-reftest.htmlPass1 / 1
bitdepth-10bpc-reftest.htmlPass1 / 1
bitdepth-12bpc-reftest.htmlPass1 / 1
bitdepth-16bpc-reftest.htmlPass1 / 1
bitdepth-8bpc-reftest.htmlFail0 / 1NOT IMPLEMENTEDthe gAMA and cHRM chunks of a PNG image without ICC profile, whose colors are sRGB: the reference 3x3_srgb_lossless.png declares a gamma of 2.2 that is not applied, while the JPEG XL image declares the same color encoding (sRGB primaries, gamma 2.2), which is converted to sRGB: their dark colors are up to 2 levels apart, and the test has no tolerance
canvas-decode-paths.htmlPass1 / 1
cmyk-basic-conversion-reftest.htmlFail0 / 1NOT IMPLEMENTEDthe JPEG XL images with a black channel (CMYK): Meziantou.Framework.Imaging does not decode them, so the image is broken
color-management-p3-cicp-reftest.htmlPass1 / 1
conformance-alpha-premultiplied-reftest.htmlFail0 / 1NOT IMPLEMENTEDthe JPEG XL images whose alpha is premultiplied: Meziantou.Framework.Imaging does not decode them, so the image is broken
css-background-image.htmlFail0 / 1NOT IMPLEMENTEDthe gAMA and cHRM chunks of a PNG image without ICC profile, whose colors are sRGB: the reference 3x3_srgb_lossless.png declares a gamma of 2.2 that is not applied, while the JPEG XL image declares the same color encoding (sRGB primaries, gamma 2.2), which is converted to sRGB: their dark colors are up to 2 levels apart, and the test has no tolerance
css-before-content.htmlFail0 / 1NOT IMPLEMENTEDthe gAMA and cHRM chunks of a PNG image without ICC profile, whose colors are sRGB: the reference 3x3_srgb_lossless.png declares a gamma of 2.2 that is not applied, while the JPEG XL image declares the same color encoding (sRGB primaries, gamma 2.2), which is converted to sRGB: their dark colors are up to 2 levels apart, and the test has no tolerance
css-image-set.htmlFail0 / 1NOT IMPLEMENTEDthe gAMA and cHRM chunks of a PNG image without ICC profile, whose colors are sRGB: the reference 3x3_srgb_lossless.png declares a gamma of 2.2 that is not applied, while the JPEG XL image declares the same color encoding (sRGB primaries, gamma 2.2), which is converted to sRGB: their dark colors are up to 2 levels apart, and the test has no tolerance
css-list-style-image.htmlFail0 / 1NOT IMPLEMENTEDthe gAMA and cHRM chunks of a PNG image without ICC profile, whose colors are sRGB: the reference 3x3_srgb_lossless.png declares a gamma of 2.2 that is not applied, while the JPEG XL image declares the same color encoding (sRGB primaries, gamma 2.2), which is converted to sRGB: their dark colors are up to 2 levels apart, and the test has no tolerance
gray-decode-reftest.htmlPass1 / 1
gray-icc-reftest.htmlPass1 / 1
green-decode-reftest.htmlPass1 / 1
hdr-alpha-reftest.htmlFail0 / 1NOT IMPLEMENTEDthe JPEG XL images whose samples are floating-point numbers: Meziantou.Framework.Imaging does not decode them, so the image is broken
html-embed-object-iframe.htmlPass1 / 1
html-video-poster.htmlPass1 / 1
icc-uncommon-profile-reftest.htmlPass1 / 1
jxl-art-basic-reftest.htmlPass1 / 1
layers-basic-reftest.htmlFail0 / 1BUGthe splines of spline_on_first_frame.jxl drawn by Meziantou.Framework.Imaging are up to 3 levels apart from the ones of the reference (decoded by libjxl) on 455 pixels; the test allows 1 level on 426 pixels
modular-lossless-reftest.htmlPass1 / 1
nonpremultiplied-alpha-grid-reftest.htmlPass1 / 1
nonpremultiplied-gray-alpha-grid-reftest.htmlPass1 / 1
orientation-codestream-vs-exif-reftest.htmlPass1 / 1
orientation-identity-reftest.htmlPass1 / 1
orientation-rotate-90-ccw-reftest.htmlPass1 / 1
patches-reftest.htmlPass1 / 1
premultiplied-alpha-grid-reftest.htmlFail0 / 1NOT IMPLEMENTEDthe JPEG XL images whose alpha is premultiplied: Meziantou.Framework.Imaging does not decode them, so the image is broken
premultiplied-gray-alpha-grid-reftest.htmlFail0 / 1NOT IMPLEMENTEDthe JPEG XL images whose alpha is premultiplied: Meziantou.Framework.Imaging does not decode them, so the image is broken
progressive-1.htmlFail0 / 1NOT IMPLEMENTEDthe progressive rendering of a truncated JPEG XL image (the tests serve the first bytes of a progressive codestream and expect the image of its first passes): Meziantou.Framework.Imaging rejects a truncated codestream, so the image is broken
progressive-2.htmlFail0 / 1NOT IMPLEMENTEDthe progressive rendering of a truncated JPEG XL image (the tests serve the first bytes of a progressive codestream and expect the image of its first passes): Meziantou.Framework.Imaging rejects a truncated codestream, so the image is broken
progressive-3.htmlFail0 / 1NOT IMPLEMENTEDthe progressive rendering of a truncated JPEG XL image (the tests serve the first bytes of a progressive codestream and expect the image of its first passes): Meziantou.Framework.Imaging rejects a truncated codestream, so the image is broken
progressive-dc-observable-reftest.htmlPass1 / 1
sdr-alpha-reftest.htmlPass1 / 1
smallest-valid-reftest.htmlPass1 / 1
vardct-large-blocks-reftest.htmlPass1 / 1
vardct-small-blocks-reftest.htmlPass1 / 1
wide-gamut-adobe-rgb.htmlFail0 / 1BUGthe stripe whose color is outside of the sRGB gamut: the colors of the image are converted to sRGB and clipped per channel, as in the browsers, while the CSS color of the reference is CSS gamut mapped (its OkLCh chroma is reduced), so they differ by up to 18 levels (the colors inside of the gamut match)
wide-gamut-display-p3.htmlFail0 / 1BUGthe stripe whose color is outside of the sRGB gamut: the colors of the image are converted to sRGB and clipped per channel, as in the browsers, while the CSS color of the reference is CSS gamut mapped (its OkLCh chroma is reduced), so they differ by up to 18 levels (the colors inside of the gamut match)
wide-gamut-prophoto-rgb.htmlPass1 / 1
wide-gamut-rec2020.htmlFail0 / 1BUGthe stripe whose color is outside of the sRGB gamut: the colors of the image are converted to sRGB and clipped per channel, as in the browsers, while the CSS color of the reference is CSS gamut mapped (its OkLCh chroma is reduced), so they differ by up to 18 levels (the colors inside of the gamut match)