Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Warnings

<!DOCTYPE html>
<title>JPEG XL: alpha with VarDCT-oriented fixture</title>
<meta name="assert" content="Decodes alpha-bearing fixture and verifies transparency exists.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/helpers.js"></script>
<script>
promise_test(async () => {
const img = await loadImage('resources/conformance_alpha_nonpremultiplied.jxl');
const px = samplePixel(img, 10, 10);
assert_less_than(px[3], 255, 'fixture should include transparent pixels');
}, 'Alpha channel is preserved for high bit-depth fixture.');
</script>