skia2/include/codec
Leon Scroggins III 42a604f431 Allow decoding without color conversion - part 2
Bug: b/135133301

Follow-on to 196f319b.

- Add SkCodec::getICCProfile to match the SkAndroidCodec version.
- Update comments on getPixels() regarding how the SkColorSpace on the
SkImageInfo is treated.
- Add two new images that have ICC profiles that do not map to an
SkColorSpace. Add a test to verify that they have the un-transformed
color we expect.
- Stop uploading ColorCodecSrc images decoded to a null SkColorSpace to
Gold. Though they may be correct, they do not match other images they're
compared against. The new test above verifies that we do not do color
conversion with a null SkColorSpace.

Change-Id: I08635e4262f16500fab32ef97511d305c2c06483
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/269236
Reviewed-by: Derek Sollenberger <djsollen@google.com>
Commit-Queue: Leon Scroggins <scroggo@google.com>
2020-02-07 19:24:33 +00:00
..
SkAndroidCodec.h Expose the ICC profile from SkAndroidCodec 2020-01-30 21:29:28 +00:00
SkCodec.h Allow decoding without color conversion - part 2 2020-02-07 19:24:33 +00:00
SkCodecAnimation.h Remove a few semicolons. 2019-02-11 14:40:37 +00:00
SkEncodedOrigin.h Add SkUNREACHABLE to definition of SK_ABORT. 2019-08-09 20:43:39 +00:00