Problem with lightness in Perl

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Post Reply
dsl
Posts: 21
Joined: 2008-01-22T15:14:29-07:00

Problem with lightness in Perl

Post 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?

User avatar
magick
Site Admin
Posts: 11133
Joined: 2003-05-31T11:32:55-07:00

Re: Problem with lightness in Perl

Post by magick »

Try luminosity instead of lightness until we can get a patch to correctly interpret the lightness parameter.

dsl
Posts: 21
Joined: 2008-01-22T15:14:29-07:00

Re: Problem with lightness in Perl

Post 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.

Post Reply