I have just committed some new features in the
linear_gamma branch, which add LCH blend modes and fix an issue in the
By the way, the
luminance blend scales the RGB values of the bottom layer by the ratio of the top and bottom luminances (coinciding with the Y channel after an RGB -> XYZ conversion). The resulting image has the same luminance as the top layer and approximately the same Hue as the bottom one, while the Chroma is not preserved.
On the other hand, the
LCH L blend mode exactly preserves both the Chroma and Hue of the bottom layer.
Here is the result of blending two gradients (one colored at the bottom, and a grayscale one at the top) in
LCH L modes:
LCH L blend:
This should fulfil one of the requests by @Reptorian and others.
Maybe @Elle has some good suggestion regarding which one is more appropriate depending what you want to achieve…
I have also changed the default behaviour of the image loader regarding image files without embedded profiles. Now the code assumes sRGB in such cases (although you still can force a different profile if needed). This should fix the problems recently reported by @afre.
EDIT: OSX and Win64 packages are on their way, they should soon appear here.