PHP
Überschrift („Inhalt-Art: Bild/png ");
$im = imagecreatetruecolor (600, 55);
imagealphablending ($im, falsch);
imagesavealpha ($im, richten aus);
imageantialias ($im, richten aus);
$transparent = imagecolorallocatealpha ($im, 0, 0, 0, 127);
$grey = imagecolorallocatealpha ($im, 34, 139, 34, 65);
$black = imagecolorallocatealpha ($im, 34, 139, 34, 0);
imagefilledrectangle ($im, 0, 0, 600, 55, $transparent);
$text = $_GET [„t“];
$font = „schließen in Him.ttf“ ab;
imagettftext ($im, 40, 0, 30, 40, $grey, $font, $text);
imagettftext ($im, 30, 0, 10, 23, $black, $font, $text);
imagepng ($im);
imagedestroy ($im);
? >
|