Image::Magick prints returnValue while Read
Posted: 2011-06-15T04:46:23-07:00
Unfortunately (on my server) Image::Magick prints the returnValue while reading an image.
I don't have any Idea how to abort this.
----
#!/usr/bin/perl
use Image::Magick;
$image=Image::Magick->new;
$image->Set(magick => 'GIF');
$image->Set(size => '1024x768');
$image->ReadImage('xc:white'); # prints '1' !!!
$image->Write("pascal_test2.gif");
----
Version: ImageMagick 6.5.3-3 2009-06-09 Q16
Any ideas?
I don't have any Idea how to abort this.
----
#!/usr/bin/perl
use Image::Magick;
$image=Image::Magick->new;
$image->Set(magick => 'GIF');
$image->Set(size => '1024x768');
$image->ReadImage('xc:white'); # prints '1' !!!
$image->Write("pascal_test2.gif");
----
Version: ImageMagick 6.5.3-3 2009-06-09 Q16
Any ideas?