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

Issue 1813273002: Parse icc profiles and exif orientation from jpeg markers (Closed)

Created:
4 years, 9 months ago by msarett
Modified:
4 years, 9 months ago
Reviewers:
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

Parse icc profiles and exif orientation from jpeg markers New resources should be fine to add since they are already checked into chromium. BUG=skia:3834 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1813273002 Committed: https://skia.googlesource.com/skia/+/0e6274f54084d816abd70d445dded8657eb01abd

Patch Set 1 : #

Total comments: 1

Patch Set 2 : Use Orientation instead of SkImageOrientation #

Total comments: 12

Patch Set 3 : Response to comments #

Patch Set 4 : Origin instead of orientation #

Patch Set 5 : Fix build error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+294 lines, -15 lines) Patch
M include/codec/SkCodec.h View 1 2 3 3 chunks +24 lines, -2 lines 0 comments Download
A resources/exif-orientation-2-ur.jpg View Binary file 0 comments Download
A resources/icc-v2-gbr.jpg View Binary file 0 comments Download
M src/codec/SkCodec.cpp View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M src/codec/SkCodecPriv.h View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
M src/codec/SkJpegCodec.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M src/codec/SkJpegCodec.cpp View 1 2 3 4 3 chunks +171 lines, -4 lines 0 comments Download
M src/codec/SkRawCodec.cpp View 1 2 1 chunk +6 lines, -3 lines 0 comments Download
M tests/ColorSpaceTest.cpp View 2 chunks +34 lines, -4 lines 0 comments Download
A tests/ExifTest.cpp View 1 2 3 1 chunk +30 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (13 generated)
msarett
https://codereview.chromium.org/1813273002/diff/60001/src/codec/SkJpegCodec.cpp File src/codec/SkJpegCodec.cpp (right): https://codereview.chromium.org/1813273002/diff/60001/src/codec/SkJpegCodec.cpp#newcode235 src/codec/SkJpegCodec.cpp:235: SkImageOrientation orientation = get_exif_orientation(decoderMgr->dinfo()); I had originally planned to ...
4 years, 9 months ago (2016-03-18 19:37:02 UTC) #7
reed1
If you're going to scope the enum name with SkImage..., you should make it global. ...
4 years, 9 months ago (2016-03-18 19:44:22 UTC) #8
msarett
On 2016/03/18 19:44:22, reed1 wrote: > If you're going to scope the enum name with ...
4 years, 9 months ago (2016-03-18 21:15:28 UTC) #9
scroggo
lgtm https://codereview.chromium.org/1813273002/diff/80001/include/codec/SkCodec.h File include/codec/SkCodec.h (right): https://codereview.chromium.org/1813273002/diff/80001/include/codec/SkCodec.h#newcode513 include/codec/SkCodec.h:513: * Does not affect ownership of SkColorSpace* This ...
4 years, 9 months ago (2016-03-18 22:38:18 UTC) #10
msarett
https://codereview.chromium.org/1813273002/diff/80001/include/codec/SkCodec.h File include/codec/SkCodec.h (right): https://codereview.chromium.org/1813273002/diff/80001/include/codec/SkCodec.h#newcode513 include/codec/SkCodec.h:513: * Does not affect ownership of SkColorSpace* On 2016/03/18 ...
4 years, 9 months ago (2016-03-21 14:28:46 UTC) #11
scroggo
lgtm patch set 3
4 years, 9 months ago (2016-03-21 14:31:46 UTC) #12
msarett
Mike, can you take a look at the API?
4 years, 9 months ago (2016-03-21 14:35:30 UTC) #13
reed1
lgtm stupid bikeshed: every enum has "Origin" and "Orientation" what about enum Origin { kTopLeft_Origin, ...
4 years, 9 months ago (2016-03-21 14:37:28 UTC) #14
msarett
On 2016/03/21 14:37:28, reed1 wrote: > lgtm > > stupid bikeshed: > > every enum ...
4 years, 9 months ago (2016-03-21 14:41:52 UTC) #15
msarett
Changed all references to "Orientation" to "Origin"
4 years, 9 months ago (2016-03-21 14:47:54 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1813273002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1813273002/120001
4 years, 9 months ago (2016-03-21 14:48:15 UTC) #18
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Mac-Clang-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Mac-Clang-x86_64-Release-Trybot/builds/1322)
4 years, 9 months ago (2016-03-21 14:49:49 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1813273002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1813273002/140001
4 years, 9 months ago (2016-03-21 14:51:46 UTC) #22
reed1
lgtm
4 years, 9 months ago (2016-03-21 15:01:38 UTC) #23
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-21 15:03:06 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1813273002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1813273002/140001
4 years, 9 months ago (2016-03-21 15:03:47 UTC) #28
commit-bot: I haz the power
4 years, 9 months ago (2016-03-21 15:04:43 UTC) #30
Message was sent while issue was closed.
Committed patchset #5 (id:140001) as
https://skia.googlesource.com/skia/+/0e6274f54084d816abd70d445dded8657eb01abd

Powered by Google App Engine
This is Rietveld 408576698