P is for Practical | |
PerlMonks |
Annotate and Image::Magickby jeffpflueger (Beadle) |
on Mar 26, 2001 at 02:23 UTC ( [id://67076]=perlquestion: print w/replies, xml ) | Need Help?? |
jeffpflueger has asked for the wisdom of the Perl Monks concerning the following question:
I am having fair success using Image::Magick and PerlMagick for a web application that I am building. I am using the module and Image::Magick to save uploaded images to three different sizes ( a thumbnail, a medium and large sized jpegs) and Annotating the mid-sized and large sized. Problem is, I cannot seem to get Annotate to work very well...
This is the simplest example I could make to demonstrate the problem that I'm having. This loads robert.jpg and saves robertanno.jpg fine, but the Annotate returns the following error PERL:
Any ideas about what is happenning? I've experimented with setting some of the other parameters for Annotate (font=>'font', gravity=>'whatever', fill=>'color' ) but I keep getting the same error. Is it that Image::Magick doesn't have something available to it that it expects? (font libraries....something?) Any help would be great! Thanks! An aside: By placing a print "Error is happening either before or after me"; either before or after the Annotate command, the output is still the error and THEN what perl prints. Sort of weird. I'm curious why this is happenning. Its like the error is coming from Image::Magick maybe, and then Perl gets its chance to print its separte errors afterwards....I dunno though...any ideas on this? Jeff Pflueger - Struggling Perl knowledge sponge
Back to
Seekers of Perl Wisdom
|
|