[magick-users] Text bounds

Chris Ferry chris at futuredead.com
Wed Jan 23 07:12:30 PST 2008


All,

I'm hoping to migrate a Card Making application from using  
GD::Text::Wrap to ImageMagick.

Here's what I need to know

Can I annotate text within a bound box so say

I want text on a 1200x2400 card to start at offsetX=800 offsetY=1900  
and boxSizeX=300 boxSizeY=300.

So we've got a 300x300 pixel box starting at 800x1900....

Now I want to write "Happy Birthday Bob!\n\n Don't get too plastered!!! 
\n\n\n Your Buddy Chris".

I also want to have that text centered in the text box and line wrap  
if necessary.

After reading through the docs I can't seem to find this functionality.

Am I blind?

Thanks

Chris


More information about the Magick-users mailing list