MaxRGB gone missing

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Post Reply
abjones
Posts: 33
Joined: 2004-03-26T12:21:59-07:00

MaxRGB gone missing

Post by abjones »

I have just installed ImageMagick-6.2.7-2-Q8-windows-dll.exe and found that MaxRGB is no longer defined.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

MaxRGB is deprecated but still should be available. We'll track down the problem. In the mean-time try QuantumRange.
abjones
Posts: 33
Joined: 2004-03-26T12:21:59-07:00

Post by abjones »

OK, for ImageMagick-6.2.7-4-Q8-windows-dll.exe
what is the syntax for using it? The following has neither defined:

Code: Select all

use Image::Magick;

my $a = MaxRGB;
print $a;

my $b = QuantumRange;
print $b;
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

Your script works for us. Check your version of Perl and make sure it matches the version ImageMagick mentions when you install it. There could be a slight incompatibility between ActiveState Perl versions.
Post Reply