Annotating with ImageMagick -- Help!

I've got ImageMagick 5.4.7 installed on my Raq4 and it works fine. I have JPG, PNG, Freetype, ZLIB support installed, but I can't annotate an existing image with PerlMagick. For instance:

$image = Image::Magick->new;

$image->Read($filefrom);

$text = 'Works!';
$image->Annotate(font=>'arial.ttf', x=>'30', y=>'30', pointsize=>12, fill=>'black', text=>$text);

$image->Write($fileto);


where "arial.ttf" is located in the perl script's directory. The image is loaded and written to $fileto but there's no text. I've been at this for 3 days, trying different permutations of the path to the font, but with no luck.

Anyone have any ideas? Thanks in advance...

Gabriel

 

 

 

 

Top