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

Issue 1838603002: Mark webps as sRGB (Closed)

Created:
4 years, 9 months ago by msarett
Modified:
4 years, 8 months ago
Reviewers:
herb_g, scroggo, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added comment #

Patch Set 3 : Accept any profileType #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -4 lines) Patch
M src/codec/SkWebpCodec.cpp View 1 2 2 chunks +7 lines, -4 lines 2 comments Download

Messages

Total messages: 20 (10 generated)
msarett
We don't pull ICC profiles from webps yet... but the spec says that if there ...
4 years, 9 months ago (2016-03-25 21:14:54 UTC) #3
reed1
https://codereview.chromium.org/1838603002/diff/1/src/codec/SkWebpCodec.cpp File src/codec/SkWebpCodec.cpp (right): https://codereview.chromium.org/1838603002/diff/1/src/codec/SkWebpCodec.cpp#newcode254 src/codec/SkWebpCodec.cpp:254: SkWebpCodec::SkWebpCodec(const SkImageInfo& info, SkStream* stream) // The spec says ...
4 years, 9 months ago (2016-03-26 01:11:35 UTC) #6
scroggo
lgtm
4 years, 8 months ago (2016-04-04 16:46:26 UTC) #7
msarett
https://codereview.chromium.org/1838603002/diff/1/src/codec/SkWebpCodec.cpp File src/codec/SkWebpCodec.cpp (right): https://codereview.chromium.org/1838603002/diff/1/src/codec/SkWebpCodec.cpp#newcode254 src/codec/SkWebpCodec.cpp:254: SkWebpCodec::SkWebpCodec(const SkImageInfo& info, SkStream* stream) On 2016/03/26 01:11:35, reed1 ...
4 years, 8 months ago (2016-04-06 19:04:38 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1838603002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1838603002/20001
4 years, 8 months ago (2016-04-06 19:05:11 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot/builds/7629)
4 years, 8 months ago (2016-04-06 19:12:06 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1838603002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1838603002/40001
4 years, 8 months ago (2016-04-06 22:28:17 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://skia.googlesource.com/skia/+/6e077e140a6b603192e2395ba0adac7b670b3f03
4 years, 8 months ago (2016-04-06 22:45:45 UTC) #18
scroggo
https://codereview.chromium.org/1838603002/diff/40001/src/codec/SkWebpCodec.cpp File src/codec/SkWebpCodec.cpp (right): https://codereview.chromium.org/1838603002/diff/40001/src/codec/SkWebpCodec.cpp#newcode90 src/codec/SkWebpCodec.cpp:90: // will treat the encoded data as linear regardless ...
4 years, 8 months ago (2016-04-07 12:35:54 UTC) #19
msarett
4 years, 8 months ago (2016-04-07 13:03:52 UTC) #20
Message was sent while issue was closed.
https://codereview.chromium.org/1838603002/diff/40001/src/codec/SkWebpCodec.cpp
File src/codec/SkWebpCodec.cpp (right):

https://codereview.chromium.org/1838603002/diff/40001/src/codec/SkWebpCodec.c...
src/codec/SkWebpCodec.cpp:90: // will treat the encoded data as linear
regardless of what the client
On 2016/04/07 12:35:54, scroggo wrote:
> linear? I thought this CL's whole purpose was to treat them as sRGB?

Well, we want to mark them as sRGB.  I think treating them as sRGB is still a
work in progress - both on our end and with Herb's work.

But I think it helps Herb to see them marked proerly as sRGB.

We'll still do the same decode regardless of whether the client asks for sRGB or
linear (which may be correct or incorrect, I'm not sure).  The comment should
probably say - "We will treat the encoded data the same way regardless of what
the client requests."

FWIW, I copied this comment from conversion_possible() SkCodecPriv.h.

Powered by Google App Engine
This is Rietveld 408576698