commit | fc38ba73e05a40ed37eb18a9930ade8db7282322 | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Wed Oct 03 16:19:10 2018 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Wed Oct 03 20:45:49 2018 +0000 |
tree | 2fbd77828d436eccd014da2b9fa724c96e5a681d | |
parent | 314d3772a494c76773e88e31ee8f9be43e288714 [diff] |
Fix-up colorSpace-less decodes Follow-up to https://skia-review.googlesource.com/c/skia/+/156627 When attempting to decode into an SkImageInfo without an SkColorSpace, assume it is SRGB. This updates scanline and incremental decodes to do so just like getPixels does. Bug: skia:8382 Change-Id: Ife3c44088be4065c065d7682fe1cb0dc1dd6376f Reviewed-on: https://skia-review.googlesource.com/c/159325 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Leon Scroggins <scroggo@google.com>