Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Issue 6529057: Merge 77724 - 2011-02-04 Hironori Bono <hbono@chromium.org>... (Closed)

Created:
9 years, 10 months ago by Peter Kasting
Modified:
9 years, 7 months ago
Reviewers:
commit-queue
CC:
chromium-reviews
Base URL:
http://svn.webkit.org/repository/webkit/branches/chromium/597/
Visibility:
Public.

Description

Merge 77724 - 2011-02-04 Hironori Bono <hbono@chromium.org>; Reviewed by Adam Barth. [chromium] JPEG corruption https://bugs.webkit.org/show_bug.cgi?id=53250 This change adds a new script test that we can render a CMYK JPEG with a color profile correctly, i.e. we can render it without color corruption. * fast/images/cmyk-jpeg-with-color-profile-expected.txt: Added. * fast/images/cmyk-jpeg-with-color-profile.html: Added. * fast/images/resources/cmyk-jpeg.jpg: Added. * fast/images/script-tests/cmyk-jpeg-with-color-profile.js: Added. (image.onload): 2011-02-04 Hironori Bono <hbono@chromium.org>; Reviewed by Adam Barth. [chromium] JPEG corruption https://bugs.webkit.org/show_bug.cgi?id=53250 Same as gray-scale JPEGs, we convert the colors of CMYK JPEGs with color profiles from CMYK to RGB twice and it causes color corruption. This change suppresses the color profiles for CMYK JPEGs same as gray-scale ones. Test: fast/images/cmyk-jpeg-with-color-profile.html * platform/image-decoders/jpeg/JPEGImageDecoder.cpp: (WebCore::JPEGImageReader::decode): TBR=commit-queue@webkit.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=78724

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, --4 lines) Patch
M LayoutTests/ChangeLog View 1 chunk +16 lines, -0 lines 0 comments Download
A + LayoutTests/fast/images/cmyk-jpeg-with-color-profile.html View 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/images/cmyk-jpeg-with-color-profile-expected.txt View 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/images/resources/cmyk-jpeg.jpg View 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/images/script-tests/cmyk-jpeg-with-color-profile.js View 0 chunks +-1 lines, --1 lines 0 comments Download
M WebCore/ChangeLog View 1 chunk +17 lines, -0 lines 0 comments Download
M WebCore/platform/image-decoders/jpeg/JPEGImageDecoder.cpp View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
Peter Kasting
9 years, 10 months ago (2011-02-16 18:41:19 UTC) #1

          

Powered by Google App Engine
This is Rietveld 408576698