commit | f86bc2ce7f32db01fb68ffa19879a94356bc45c4 | [log] [tgz] |
---|---|---|
author | Matt Sarett <msarett@google.com> | Fri Mar 24 16:35:22 2017 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Mar 28 13:08:50 2017 +0000 |
tree | 4b0ed1b107821593e19365719f20e2563598b609 | |
parent | 4a77cf86963b882b9276ea74efbe0edd76c0afbe [diff] |
SkImage_Generator::onMakeColorSpace avoid 565 I forgot that if a png has the significant bit chunk set to R=5, G=6, B=5, we will recommend a decode to 565. We need to avoid this. The codec does not support color correct 565. BUG=skia: Change-Id: Ieb74bfaf100504d9748e4b8014a8a4e425428c7a Reviewed-on: https://skia-review.googlesource.com/10166 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Matt Sarett <msarett@google.com>