Color : Image Color : Graphics Image PHP Source Code


PHP Source Code » Graphics Image » Image Color »

 

Color




<?php
     header("Content-type: image/gif");
     $imgcord = imagecreate(250,300);
     $red = imagecolorallocate($imgcord, 255,0,0);     
     $green = imagecolorallocate($imgcord, 0,255,0);     
     $blue = imagecolorallocate($imgcord, 0,0,255);     

     imageline($imgcord, 5,5125,50, $red);
     imagearc($imgcord, 100,25120,1250180, $green);
     ImagePNG($imgcord);
     ImageDestroy($imgcord);
?>
           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Graphics Image
» Image Color