Switch to full style
:read: Start PHP with us. Includes topics to help you in php
Post a reply

Draw Filled Ellipse in php

Sun Oct 26, 2008 10:58 pm

Code:
<?php
$myImage
= ImageCreateFromPNG ("logo.png");

$c = ImageColorAllocate ($myImage, 2, 255, 255);

ImageFilledEllipse($myImage, 10, 7, 20, 20, $c);
ImageFilledEllipse($myImage, 15, 7, 20, 20, $c);
ImageFilledEllipse($myImage, 20, 7, 20, 20, $c);

header ("Content-type: image/png");
ImagePNG($myImage);

ImageDestroy($myImage);
?>




Post a reply
  Related Posts  to : Draw Filled Ellipse in php
 Draw Filled Arc php code     -  
 Ellipse in Rectangle     -  
 ellipse, circle, rectangle, square, or parallelogram     -  
 Disable submit button until all form's fields are filled     -  
 Earn $2 Per Form Filled. Now Hiring Data Entry Typists     -  
 How to draw a gun     -  
 Draw pie chart php     -  
 Draw An Arc in java     -  
 Draw Triangle using Lines     -  
 draw Round gradient     -  

Topic Tags

PHP Graphics