Diffusion Krita ef1ec200770a

Fix HSY selector modes

Authored by mwein on Apr 17 2020, 6:25 PM.

Description

Fix HSY selector modes

The RGB<=>HSY conversion really only works properly in linear RGB.
Gamma needs to be applied to Y', and is now taken from Advanced Color Selector
configuration.

Luma coefficients are now fetched on reconfiguration instead of every single
color conversion.

Caveat: Some color profiles like "ITUR_2100_PQ_FULL.ICC" define no colorants
and hence they cannot be linearized with the current implementation.
A substitution of color spaces like the Small Color Selector does seems
unavoidable in the long run...

Details

Committed
mweinApr 30 2020, 6:08 PM
Parents
R37:e9595aa09f88: Fix descrete rotation to be aligned to absolute position, not relative
Branches
Unknown
Tags
Unknown