Page 1 of 1

Problem with lightness in Perl

Posted: 2009-10-18T07:12:20-07:00
by dsl
Hello,

Please, help me to resolve problem with lightness.

It seems $img->Modulate( saturation=>'0', lightness=>'150') doesn't work in Perl.
It works the same like $img->Modulate( saturation=>'0').

Is it a bug or is their any other way how to implement lightness?

Re: Problem with lightness in Perl

Posted: 2009-10-18T08:06:14-07:00
by magick
Try luminosity instead of lightness until we can get a patch to correctly interpret the lightness parameter.

Re: Problem with lightness in Perl

Posted: 2009-10-18T08:21:15-07:00
by dsl
Thank you!

But, according to PerlMagick tutorial there is no parameter luminosity in Modulate.
There are only brightness, saturation, hue, lightness, whiteness and blackness.
I also can't find parameter luminosity in other functions.