Page 1 of 1

Bug: Image Magick prints 1 for each read

Posted: 2009-06-15T05:59:45-07:00
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?

Re: Bug: Image Magick prints 1 for each read

Posted: 2009-06-15T09:27:14-07:00
by magick
An extraneous debugging statement is in your release of ImageMagick. This problem is fixed in the current release, 6.5.3-7.