Hi Christopher, You have to get the width of the font you are using in the image then multiply that by the length of your string.
There is a gd/image function that returns the width of a font, you can look at http://www.php.net/manual Jason On Sat, 2003-03-08 at 15:30, Christopher Smith wrote: > I understand how to place the text on the image etc. Just not exactly sure > how to make the image based on how big the text file I put into an array > > > "Christopher Smith" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Greetings, > > > > I've recently searched newsgroup archives on how to convert text into an > > image. However, I cannot seem to find a clear example on how to create the > > image dimensions based on the size of a textfile and then once I create > the > > initial image how to paint the text on the image based on how it appears > in > > the textfile. Any help with this would be helpful. Thank-you for your > time! > > > > -- Jason Sheets <[EMAIL PROTECTED]> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php