Page 1 of 1

wrap text to image size

Posted: Fri Aug 18, 2006 11:19 am
by rav
Hello:
My task: user to enter font, font size, text, text color(r,g,b), maximum 100 characterss, minimum any number of characters..

I need to write text in lines on an image and keep all sides of image blank with no text on it.

Also, if the text needs to fit in image with lines and wod wrapping.. if not then reduce the font and make it fit in image.

and crate a final alpha transparent image with text on it..

Can anyont help me in wrapping up text in lines and so reducing font... and
how can image borders bekept blank... currently, i amgetting text on image that is cutting and also comming on sides...

I will appreciate your help...

thanks
rav

Posted: Sat Aug 19, 2006 12:04 am
by RobertGonzalez
Post some code. Maybe we can start with that.