in reply to Annotate with Image::Magick

Hi, you're confused with
use Image::Magick; my ($image, $x); $image = Image::Magick->new; $image->Read($ext); warn "$x" if "$x";
You need
use Image::Magick; my ($image, $x); $image = Image::Magick->new; $x = $image->Read($ext); warn "$x" if "$x";
http://www.imagemagick.org/script/perl-magick.php#example

Replies are listed 'Best First'.
Re^2: Annotate with Image::Magick
by JayBee (Scribe) on Nov 11, 2007 at 18:24 UTC
    Sorry, that didn't work either. I tried it and even duplicated it all the way down to
    $x = $image->Write('../im_after.jpg');
    but still no luck.