Page 1 of 1

Re: Read

Posted: 2008-12-22T19:03:25-07:00
by magick
Try this code:

Code: Select all

my $src = Image::Magick->new;
$x = $src->Read('a.png');
warn "$x" if "$x";

Re: Read

Posted: 2008-12-23T07:31:55-07:00
by magick
Run the script from the command line first to ensure your PerlMagick environment is set up properly. As a web service, post the HTTP headers before you call the scripts to ensure any error messages can be displayed.