DescriptionWhen importing BGRA or RGBA data for encoding, provide variants of
the WEBPImportPicture API for RGBX and BRGX data meaning the alpha
channel should be ignored.
Note: the existing WEBPImportPictureRGBA|BGRA routines also ignore
the alpha channel, but won't in a future version of libwebp. Thus,
if WebKit continues using the existing routines, the alpha channel
will be imported and encoded in libwebp.next, and hence will break
canvas.toDataURL("image/webp") and its layout tests.
BUG=130144
TEST=Webkit test pass when using the new functions.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=140264
Patch Set 1 #
Total comments: 3
Patch Set 2 : Fix comment nits. #
Messages
Total messages: 8 (0 generated)
|