I'm trying to generate an image with some somewhat complex text using GD. There doesn't seem to be any GD documentation in the PHP manual. The documentation at http://www.boutell.com/gd/ is not oriented to PHP.
My specific question at the moment is: Is it allowable to have a function inside a PHP script that generates an image? It seems to not work for me, but I may be doing something wrong.
Thanks!
-Peter