commit | 8491dd80c89943cc535427aa1521edd6de1fb64f | [log] [tgz] |
---|---|---|
author | Brian Osman <brianosman@google.com> | Fri Aug 31 11:48:04 2018 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Aug 31 16:52:19 2018 +0000 |
tree | ec3b7b77e43a58f64464de3e4b9e23558b320da5 | |
parent | 8378dfb6a11cb8a4f66d359c35b44998d04a4509 [diff] |
Add support for gray + colorspace to SkCodec In both PNG and JPEG, support passing Gray8 directly to skcms, and remove assertions about gray never having a color xform. Remove SkImage_Lazy hacks to strip color spaces when decoding gray. Change-Id: I64c7b480c51a2b0c839e7eb8ed3a5fdea5aa4e41 Reviewed-on: https://skia-review.googlesource.com/150909 Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Brian Osman <brianosman@google.com>