
31.01.2009, 06:58
|
|
Постоянный
Регистрация: 21.08.2008
Сообщений: 302
С нами:
9326973
Репутация:
-25
|
|
Все равно не работает!
PHP код:
<?php
header("Content-type: image/jpeg");
$im = imagecreatefromjpeg("123.jpeg");
$text = "Welcome!";
$fout = "arial.ttf";
$color = imagecolorallocate($im, 255, 0, 0);
imagettftext($im,11,0,0,0,$color,$font,$text);
imagejpeg($im);
?>
Пишет:
Warning: imagettftext() [function.imagettftext]: Could not find/open font in G:\home\img.ru\www\text.php on line 7
яШяаJFIFяю>CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), default quality яЫC $.' ",#(7),01444'9=82<.342яЫC 2!!
|
|
|