Skip to content

Color manage the RGB composition color selector

Adrian Knagg-Baugh requested to merge wavelength_to_rgb into master

Colors assigned to compositing layers will now be accurate as displayed and as composited in the image potentially in a different color space to the display.

The wavelength is initially converted to a color in CIE XYZ coordinates, which follow the edge of the CIE 1931 horseshoe diagram. This allows for better representation in wide gamut color spaces.

This fixes the accuracy of the color picker any time the image color profile is different to the monitor color profile, but is perhaps particularly important when assigning specific filters or wavelengths, i.e. for some narrowband composition (typically HOO).

TODO:

  • Check the change covers all the means of selecting a color (including the color picker widget showing the hue / saturation square)
Edited by Adrian Knagg-Baugh

Merge request reports