post-page

Creating dynamic PNGs from text using PHP

3
responses
by
 
on
March 16th, 2004
in
General

I was wondering how Matt made the titles of his posts appear so perfect and I realized that they were PNG (portable network graphics or simple picture files) files. So I started looking for ways to convert text into PNG automagically using PHP. This would enable all kinds of freaky fonts, colors and other magic to be used with inline text. I came up with this wonderful article from NewtNotes which explains the process of creating PNG files from TTF fonts using PHP and even provides source code. Here is the link to the tutorial.
I blog this so when inspiration strikes, I can whip up some code myself! ;-)

heading
3
Responses

 

Comments

  1. FrankPereiro (1 comments.) says:

    Hi Mark,

    I clicked on the link you have on your post for the tutorial but it doesn’t seem to be a tutorial there. It doesn’t explain how to convert text into images.

    Greetings, :grin:



Obviously Powered by WordPress. © 2003-2013

page counter
css.php