$obrazek = imagecreatetruecolor(400,300); 
$niebieski = imagecolorallocate($obrazek, 0, 0, 255); 
$bialy = imagecolorallocate($obrazek, 255, 255, 255); 
if(!isset($_GET['wielkosc'])) $_GET['wielkosc'] = 44; 
if(!isset($_GET['tekst'])) $_GET['tekst'] = "Witaj wiecie!"; 
imagettftext($obrazek, $_GET['wielkosc'], 15, 50, 200, $bialy, "ARIAL", $_GET['tekst']); 
header("content-type: image/png"); 
imagepng($obrazek); 
imagedestroy($obrazek); 
