Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Let's say I have a box, and inside this box I have another box.
I have a gray outerbox and a white innerbox as my image.jpg. I want to write text using ImageMagick in this white are and no where else. I already know how to write text ontop of an image, but how can I make it so the text I want will always be in this white area and in the case it's too big, the text will split into separate lines so it fits?################## # # # ############ # # # # # # # # # # ############ # # # ##################
In short, my question is.. Is it possible to set coordinates for text wrapping so the text won't ever leave a specific area? I will be using an array to print text so it's not like it will always be one string, it'll be different sizes and I want to be able to text wrap and center it inside these coordinates.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: random ImageMagick questions
by valdez (Monsignor) on Mar 23, 2004 at 17:24 UTC | |
|
Re: random ImageMagick questions
by matija (Priest) on Mar 23, 2004 at 08:22 UTC | |
|
Re: random ImageMagick questions
by halley (Prior) on Mar 23, 2004 at 13:58 UTC | |
|
Re: random ImageMagick questions
by zentara (Cardinal) on Mar 23, 2004 at 16:12 UTC |