Forum Moderators: coopster
Here is the code so far:
<?php
$image = imagecreatefrompng("text_background.png");
$font_size = 7;
$color = imagecolorallocate($image, 255,255,255);
$black = imagecolorallocate($image, 0,0,0);
$text = "Test!";
$font = "TT0768M_.TTF";ImageTTFText ($image, $font_size, 0, 4, 10, $black, $font, $text);
ImageTTFText ($image, $font_size, 0, 5, 10, $color, $font, $text);
header("Content-type: image/png");
imagepng($image);
imagedestroy($image);
?>
Much I just picked up from some tutorials, so again I don't know too much.
What I want to do is create images using a unique font with a pre-made background image that have bold and stroke attributes.
Here is what I'm attempting to replicate automaticly instead of make a dozens manually :
5.25 KB, 60px by 16px.
[edited by: jatar_k at 5:31 pm (utc) on Jan. 23, 2005]