DescriptionMerge 73112 - 2010-12-02 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Gray-scale JPEG images with a color profile are stretched horizonally
https://bugs.webkit.org/show_bug.cgi?id=49950
Turns out gray-scale JPEGs with color profiles have the same issue as
PNGs. As with PNGs, we suppress now suppress the color profile for
gray-scale JPEGs. Most importantly, this patch adds a test.
Test: fast/images/gray-scale-jpeg-with-color-profile.html
* platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
(WebCore::JPEGImageReader::decode):
2010-12-02 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Gray-scale JPEG images with a color profile are stretched horizonally
https://bugs.webkit.org/show_bug.cgi?id=49950
Test that we properly render gray-scale JPEGs with embedded color
profiles.
* fast/images/gray-scale-jpeg-with-color-profile.html: Added.
* fast/images/resources/flowchart.jpg: Added.
* platform/mac/fast/images/gray-scale-jpeg-with-color-profile-expected.txt: Added.
TBR=abarth@webkit.org
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=73243
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|