PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Jay
Post
by Jay » 2009-06-15T05:59:45-07:00
Image Magick prints a "1" for each Read command at the end of my output
Sample:
Code: Select all
#!/usr/bin/perl
use Image::Magick;
my $image=Image::Magick->new;
print "Version: " . $image->Get('version');
for(my $i=0;$i<10;$i++)
{
$image -> Read("../img/hintergrund.jpg");
}
1;
Sample output
Code: Select all
1
1
1
1
1
1
1
1
1
1
Version: ImageMagick 6.5.3-3 2009-06-15 Q16 http://www.imagemagick.org
Why does it print the 1?
magick
Site Admin
Posts: 11064 Joined: 2003-05-31T11:32:55-07:00
Post
by magick » 2009-06-15T09:27:14-07:00
An extraneous debugging statement is in your release of ImageMagick. This problem is fixed in the current release, 6.5.3-7.