|Dynamic Image Creation...|
Stroke / Bold text?
I'm new to the whole dynamic images thing.. I've picked up on a few simple commands so far, I can take an image apply simple writing on it and develop a new image from it using GD.
Here is the code so far:
$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);
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]