[Webkit-unassigned] [Bug 249446] New: color space of certain videos drawn to canvas does not match source video

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 15 21:15:41 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=249446

            Bug ID: 249446
           Summary: color space of certain videos drawn to canvas does not
                    match source video
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: heycam at apple.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

For historical reasons, CoreAnimation will adjust certain video color spaces when displaying the video. If we draw such a video to a canvas, in certain circumstances (if the size of the drawn image is small enough, and we have an accelerated canvas), it will be drawn with an unadjusted color space, resulting in pixel values that don't match the original video. There are pages that like to use canvas to compute a background color from a video to set on the surrounding page, and if we run into this issue, the color will be slightly off.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221216/fd31fa85/attachment.htm>


More information about the webkit-unassigned mailing list