DescriptionMerge 104732 - [chromium] Color profiles are incorrect for images without premultiplied alpha
https://bugs.webkit.org/show_bug.cgi?id=75999
Reviewed by Stephen White.
Source/WebCore:
Don't apply the color profile if the user has requested separate alpha.
Test: fast/canvas/webgl/texture-color-profile.html
* platform/image-decoders/skia/ImageDecoderSkia.cpp:
(WebCore::ImageFrame::setStatus):
LayoutTests:
Verify that the image's contents don't get destroyed if using both
separate alpha as well as the browser's colorspace conversion.
* fast/canvas/webgl/resources/tan-1x1-with-alpha.png: Added.
* fast/canvas/webgl/texture-color-profile-expected.txt: Added.
* fast/canvas/webgl/texture-color-profile.html: Added.
TBR=kbr@google.com
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=104769
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|