kampidh / Colour-Gamut-Plotter

A GUI for Colour-Science CIE chromaticity scatter diagram from image
GNU General Public License v3.0
6 stars 0 forks source link

[To Do] Extract TRC value from embedded colour profile #1

Closed kampidh closed 2 years ago

kampidh commented 2 years ago

There are TRC tags from ICC profiles, however Pillow is currently unable to extract those data.

I'll find out if I can extract it from the raw byte data.


There are 2 different standards to be used:


Extra notes:

Embedded ICC profiles also have primaries coordinate and white point / illuminant that can be accessed with Pillow. I have yet to find out if colour-science can make a 'synthetic' profile from those parameters, that can be displayed later on the colour plot.

If all of the points above are possible, it will improve the accuracy of the plot significantly. And I don't have to rely on string parsing for the automatic profile detection.

kampidh commented 2 years ago

Implemented this in v1.1