aboutsummaryrefslogtreecommitdiffhomepage
path: root/resources
diff options
context:
space:
mode:
authorGravatar Brian Osman <brianosman@google.com>2017-12-19 14:44:12 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-12-20 14:09:34 +0000
commita12f795f4ab4b97d31acfd8bfbbbb6e06a70e999 (patch)
treef3c132ed909a214ac67e3352f1f2d965d1a10dc9 /resources
parentb5086961f335d6757a88ce7507c445485aaba2e6 (diff)
Fix Adobe RGB color space in Skia
Our runtime definition of the XYZ matrix was fairly inaccurate. It also didn't round-trip through ICC fixed point correctly. Now, constructing the color space at runtime produces exactly the same matrix as constructing the space from the ICC profile. And the values can then be serialized back to ICC exactly. This eliminates the need for the snapping logic, too. Bug: skia: Change-Id: I69f4a9bfec3eeef153935e21ab3a0630794b1607 Reviewed-on: https://skia-review.googlesource.com/84840 Reviewed-by: Brian Osman <brianosman@google.com> Reviewed-by: Mike Klein <mtklein@google.com> Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'resources')
-rw-r--r--resources/icc_profiles/AdobeRGB1998.iccbin0 -> 560 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/resources/icc_profiles/AdobeRGB1998.icc b/resources/icc_profiles/AdobeRGB1998.icc
new file mode 100644
index 0000000000..a79f576b59
--- /dev/null
+++ b/resources/icc_profiles/AdobeRGB1998.icc
Binary files differ