Add interesting features to visualize_color_gamut
authormsarett <msarett@google.com>
Fri, 27 May 2016 21:01:02 +0000 (14:01 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 27 May 2016 21:01:02 +0000 (14:01 -0700)
commit97205a4b419e0b7b1864db1945c4098c01874bbc
tree3f2b36e254b140ad227b09b419f135731722a01c
parentf283c076956f65fd8e19120d92c03779c80bc254
Add interesting features to visualize_color_gamut

(1) Draw triangles onto a D50 color gamut so they are
    actually in the correct place.
(2) Add options to display canonical sRGB and Adobe RGB
    gamuts.
(3) Label the R, G, and B points of the color gamut.
(4) Decode and reencode the input image without color
    correction, so we can compare to the corrected version.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2017153002

Review-Url: https://codereview.chromium.org/2017153002
resources/gamut.png
tools/visualize_color_gamut.cpp