hi und hallo zusammen!
ich habe ein problem mit der imagettftext() funktion und zwar wenn ich diese benutze entsteht in meinem browser nur ganz viele zeichen!!!
auszug aus meiner php.ini:
gd
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
code:
<?
$image = imagecreate(300,150);
$farbe_body=imagecolorallocate($image,243,243,243);
$font_c = imagecolorallocate($image,10,36,106);
imagettftext($image, 20, 28, 30, 140, $font_c, "./fonts/tahoma.ttf", "PHP3/4 - Die Befehlsreferenz");
header("Content-type: image/gif");
Stammverzeichnis fest
$root = './';
include($ttl_root . "includes/top.php");
imagegif($image);
include("includes/bottom.php");
?>
wo liegt das problem? :-/
mfg dani