My signature uses the GD Libraries.
Code:
$im = imagecreatefromjpeg ('/path/to/my/blank/file.jpg');
$black = imagecolorallocate ($im, 0, 0, 0);
imagettftext ($im, 12, 0, 17, 28, $black, "/path/to/my/font/tahoma.ttf", "This is what you see on the image");
header ("Content-type: image/jpeg");
imagejpeg ($im);
exit;
This is a stripped down version of the code that powers my signature.
Last weekend I created a neat little image generator with the GD libraries. I'll post something about it when
the whole project is complete. Some of you may remember the early days of the project.
