zkus to bez f-ce dl() normalne bz to melo jit gd knihovnu nemusis nijak inicializovat
naprikad :
header ("CONTENT-Type: image/jpeg");
$Width =330; $height=130;//obrazek
$img = imageCreate($Width,$height);
$colorbody = imagecolorallocate($img,0,0,0);
$color1 =imagecolorallocate($img,0,0,255);
$color12 =imagecolorallocate($img,255,255,0);
$color21 =imagecolorallocate($img,255,190,0);
$color3 =imagecolorallocate($img,255,255,255);
$color4 =imagecolorallocate($img,0,255,0);
$color2 =imagecolorallocate($img,255,0,0);
ImageString($img,6,60,1,"Vysledky hlasování",$color4);
imagefilledrectangle ($img, 15,50,$hlas1prb+15,55,$color1);
ImageString($img,2,130,45," $hals1 ($hlas1pr %) $popis1",$color3);
imagefilledrectangle ($img, 15,65,$hlas2prb+15,70,$color3);
ImageString($img,2,130,60," $hals2 ($hlas2pr %) $popis2",$color3);
imagefilledrectangle ($img, 15,80,$hlas3prb+15,85,$color12);
ImageString($img,2,130,75," $hals3 ($hlas3pr %) $popis3",$color3);
imagefilledrectangle ($img, 15,95,$hlas4prb+15,100,$color21);
ImageString($img,2,130,90," $hals4 ($hlas4pr %) $popis4",$color3);
imagefilledrectangle ($img, 15,110,$hlas5prb+15,115,$color2);
ImageString($img,2,130,105," $hals5 ($hlas5pr %) $popis5",$color3);
ImageJpeg ($img);
?>