I can't find how to use this function. There are no examples in the any documentations or forums. Help!
My code:
-------------------------------------------------------------------------
$im = imagecreatefrompng('picture.png');
$orange = imagecolorallocate($im, 220, 210, 60);
$font = imageloadfont('font.bmf');
imagestring($im, $font, 40, 10, 'some string', $orange);
imagepng($im);
imagedestroy($im);
-------------------------------------------------------------------------
'font.bmf' is a bitmap font that I generated. No PHP errors or warnings -- (all right?) -- and no text on the picture! Why?
Please help me, if anybody used this function...[/i]
Problem with imageloadfont
Moderator: General Moderators