Home Tutorial Php Phpgd About PHP GD Arc

 
 

Share on Google+Share on Google+
About PHP GD Arc
Posted on: October 30, 2009 at 12:00 AM
Advertisement
About PHP GD Arc:In this tutorial you will learn about PHP GD ARC Function.
PHP GD arc Function

<?php
$img = imagecreate(200, 200);
$red = imagecolorallocate($img, 255, 0, 0);
$black = imagecolorallocate($img, 0, 0, 0); 
imagearc($img, 100, 100, 150, 150, 0, 360, $black); 
header("Content-type: image/png");
imagepng($img);
imagedestroy($img);
?>

After running the program you will get the following output

Advertisement

Related Tags for About PHP GD Arc:


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: October 30, 2009

Recommend the tutorial

Advertisements Advertisements
 

 

 

DMCA.com