From a12f795f4ab4b97d31acfd8bfbbbb6e06a70e999 Mon Sep 17 00:00:00 2001 From: Brian Osman Date: Tue, 19 Dec 2017 14:44:12 -0500 Subject: 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 Reviewed-by: Mike Klein Reviewed-by: Mike Klein Commit-Queue: Brian Osman --- resources/icc_profiles/AdobeRGB1998.icc | Bin 0 -> 560 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 resources/icc_profiles/AdobeRGB1998.icc (limited to 'resources') diff --git a/resources/icc_profiles/AdobeRGB1998.icc b/resources/icc_profiles/AdobeRGB1998.icc new file mode 100644 index 0000000000..a79f576b59 Binary files /dev/null and b/resources/icc_profiles/AdobeRGB1998.icc differ -- cgit v1.2.3