Page 1 of 1

Modulate saturation and lightness broken

Posted: 2007-04-10T22:35:11-07:00
by Noogle
Hi,

I believe that the modulate function is broken.
This is my test image:
Image
This is the image desaturated in Photoshop:
Image
However, this is the result of convert -colorspace HSL -modulate 100,0,100 in ImageMagick:
Image

Next, adding a hue/saturation layer in Photoshop and setting the lightness to -50 (i.e. 50%) results in:
Image
However, convert -colorspace HSL -modulate 50,100,100 in ImageMagick gives:
Image

As you can see, the desaturate appears to be mapping the lightest color to white, and working its way from there.
Changing the lightness, however has also changed the hue.