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

Issue 24882002: Do not convert non gray PNG to A8. (Closed)

Created:
7 years, 2 months ago by scroggo
Modified:
7 years, 2 months ago
Reviewers:
djsollen, reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Do not convert non gray PNG to A8. If the user requested A8, but the source is not gray, switch to ARGB8888. BUG=https://b.corp.google.com/issue?id=9189955 R=reed@google.com Committed: https://code.google.com/p/skia/source/detail?r=11573

Patch Set 1 #

Total comments: 5

Patch Set 2 : respond to comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -3 lines) Patch
M src/images/SkImageDecoder_libpng.cpp View 1 1 chunk +7 lines, -3 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
scroggo
7 years, 2 months ago (2013-09-26 23:14:41 UTC) #1
reed1
I find this aspect of the API still the most complicated : how the caller, ...
7 years, 2 months ago (2013-09-27 14:20:53 UTC) #2
scroggo
https://codereview.chromium.org/24882002/diff/1/src/images/SkImageDecoder_libpng.cpp File src/images/SkImageDecoder_libpng.cpp (right): https://codereview.chromium.org/24882002/diff/1/src/images/SkImageDecoder_libpng.cpp#newcode534 src/images/SkImageDecoder_libpng.cpp:534: if (*configp != SkBitmap::kARGB_4444_Config) { On 2013/09/27 14:20:54, reed1 ...
7 years, 2 months ago (2013-09-27 21:21:35 UTC) #3
scroggo
https://codereview.chromium.org/24882002/diff/1/src/images/SkImageDecoder_libpng.cpp File src/images/SkImageDecoder_libpng.cpp (right): https://codereview.chromium.org/24882002/diff/1/src/images/SkImageDecoder_libpng.cpp#newcode539 src/images/SkImageDecoder_libpng.cpp:539: if (PNG_COLOR_TYPE_GRAY != colorType) { On 2013/09/27 21:21:35, scroggo ...
7 years, 2 months ago (2013-09-30 20:26:56 UTC) #4
reed1
lgtm
7 years, 2 months ago (2013-09-30 20:43:28 UTC) #5
scroggo
7 years, 2 months ago (2013-10-02 15:50:31 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 manually as r11573 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698