Bug: Image Magick prints 1 for each read

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Post Reply
Jay

Bug: Image Magick prints 1 for each read

Post by Jay »

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?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Bug: Image Magick prints 1 for each read

Post by magick »

An extraneous debugging statement is in your release of ImageMagick. This problem is fixed in the current release, 6.5.3-7.
Post Reply