06.11.2011, 11:35
PHP код:
imagettftext([image file], [text size], [text angle], [x (or width)], [y (or height)], [text color], [font file (.ttf)], [text]);
PHP код:
$blank = imagecreatetruecolor(600, 600); # (width, height)
$black = imagecolorallocate($blank, 0, 0, 0); # (image, r, g, b)
imagettftext($blank, , 0, 600/2, 600/2, $black, 'arial.ttf', 'Hello!');

