Login   Register  
PHP Classes
elePHPant
Icontem

File: gdExt_0.1.0a1/test_gdExtImage.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Victor Akinyemi  >  PHP GIF Animation Class  >  gdExt_0.1.0a1/test_gdExtImage.php  >  Download  
File: gdExt_0.1.0a1/test_gdExtImage.php
Role: Example script
Content type: text/plain
Description: Example for gdExtImage.
Class: PHP GIF Animation Class
Draw graphics and generate animated GIF images
Author: By
Last change: Added gdExtImage::roundrect() Example
Date: 1 year ago
Size: 359 bytes
 

Contents

Class file image Download
<?php

header
('Content-Type: image/png');

require(
'gdExtImage.class.php');

$dim = new gdExtImage(NULL100100);
$dim->rect(50508080, array(50,50,90));
$dim->rect(003030, array(50,50,90));
$dim->roundrect(30,30,50,50,5,array(5,5,200));
$dim->text(2040'GD');
$dim->text(2,10,50,'Library',array(5,200,5),TRUE);
$dim->save();

?>