Eine Grafik dynamisch erzeugt:

<?php

 $gif = ImageCreate(200,200);
 $bg  = ImageColorAllocate($gif,0,0,0);
 $tx  = ImageColorAllocate($gif,255,128,128);
 ImageFilledRectangle($gif,0,0,200,200,$bg);
 ImageString($gif,5,70,90,"Workshop 2000",$tx);
 for ($i = 0; $i <= 20; $i++) {
   ImageLine($gif, 0, $i *5, 65, $i*10, $tx);
 }
  
 header("content-type: image/gif");
 ImageGif($gif);<br> 
?>