[Webkit-unassigned] [Bug 237082] createImageBitmap cannot premultiply alpha with ImageData

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 14 10:56:34 PDT 2023


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

--- Comment #3 from Brent Fulgham <bfulgham at webkit.org> ---
Source is unpremultiplied RGBA8, destination for createImageBitmap backing store is premultiplied BGRA8. Colorspace is unchanged.

Although the test case talks about [12, 12], the math actually gives you [12, 3].

Inputs to vImagePremultiplyData_RGBA8888 look correct, e.g. the pixel at location 12, 3 in the source buffer is: 

00 00 FF 2C

The result of premultiplying is:

00 00 2C 2C

Which is correct.

-- 
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/20230414/4e8eebb7/attachment.htm>


More information about the webkit-unassigned mailing list