Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Annotate and Image::Magickby jlawrenc (Scribe) |
on Mar 26, 2001 at 05:42 UTC ( [id://67096]=note: print w/replies, xml ) | Need Help?? |
Jeff, Image::Magick is on my list of things to get into... But what is apparent, as others have mentioned, is that GhostScript is being called to annotate your image. Presumably gs is called to generate a bitmap rendering of your text which will then be overlayed on your image. You may want to look into building ImageMagick with TrueType support. To do this you need to ensure that you have the TrueType V2 library on your system and then recompile ImageMagick. To check for TrueType support at the least you could use the command:
I have a working build strategy for Image::Magick using the PerlMagick supplied in the distribution. If you pull down the latest perl module for ImageMagick you may encounter difficulties building it. As an alternative to ImageMagick I'd strongly encourage you to check out the GD package from Boutell.Com. I have gotten GIF annotations to work beautifully using it and I think for tasks such as you describe it might be a better (simpler) choice. (Take that comment with a grain of salt as I have not used Image::Magick successfully as of yet - largely due to time contraints.) Notes on building ImageMagick and Image::Magick
FreeType -
freetype.sourceforge.net should suffice
ImageMagick -
www.imagemagick.org You'll need to be root if you're installing into your OS's Perl libs. As with most things your mileage will vary depending on software confurations, etc. Let me know how you make out. Edit: chipmunk 2001-03-27
In Section
Seekers of Perl Wisdom
|
|