Closed Bug 2033174 Opened 1 month ago Closed 28 days ago

fix testing/web-platform/tests/jpegxl/resources/conformance_alpha_nonpremultiplied.jxl to not contain unspec'ed behaviour

Categories

(Core :: Graphics: ImageLib, task)

task

Tracking

()

RESOLVED FIXED
152 Branch
Tracking Status
firefox152 --- fixed

People

(Reporter: tnikkel, Assigned: tnikkel)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

No description provided.
Summary: fix testing/web-platform/tests/jpegxl/resources/conformance_alpha_nonpremultiplied.jxl to not contain unspec behaviour → fix testing/web-platform/tests/jpegxl/resources/conformance_alpha_nonpremultiplied.jxl to not contain unspec'ed behaviour

After talking to jpegxl developer, the color channels in this file contain values that go about the 0..1 range. Since the image ha alpha then the question is if the proper way to handle that is to blend the color and alpha and then clip the result, or clip the color values first and then blend with the alpha. According to the jpegxl developers the spec does not say what to do. This test is intended to test basic functionality, not unspec'ed edge cases, so the fix is to change the test file so that that color channels stay within 0..1. The update test file was provided to me by jpegxl developers.

Blocks: JPEG-XL
Pushed by tnikkel@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/ada20067f3d1 https://hg.mozilla.org/integration/autoland/rev/52eedb14f09e Fix testing/web-platform/tests/jpegxl/resources/conformance_alpha_nonpremultiplied.jxl to not contain unspec'ed behaviour. r=saschanaz
Status: NEW → RESOLVED
Closed: 28 days ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch

Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/59374 for changes under testing/web-platform/tests

Upstream PR merged by moz-wptsync-bot

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: