PHP Classes

PHP Draw: Render an image using drawing command language

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 41%Total: 1,334 All time: 2,901 This week: 206Up
Version License PHP version Categories
phpdraw 1.2GNU Lesser Genera...5.1PHP 5, Graphics
Description 

Author

This package can be used to render an image using a drawing command language.

It takes a string with commands that define the graphic primitives to be drawn in an image.

Several commands are currently supported: right, left, up, down, ellipse, filledellipse, filledarc, rectangle, polygon, color, x, y, pixel, fontsize, text and file.

The main class interprets the drawing commands by calling separate classes that draw the requested graphic primitives in an image.

The image with the rendered graphics may be saved to file in the PNG format.

The same image file can be used in subsequent requests to allow the user to perform interactive graphic drawings.

Innovation Award
PHP Programming Innovation award nominee
November 2007
Number 6
AJAX allows updating Web pages overlaying graphics without page reloading.

This class can be used to implement a graphics drawing Web application that renders overlayed graphic shapes using AJAX to update the page drawn by the user.

Manuel Lemos
Picture of Johan Barbier
Name: Johan Barbier <contact>
Classes: 17 packages by
Country: France France
Innovation award
Innovation award
Nominee: 6x

 

  Files folder image Files (9)  
File Role Description
Files folder imageajax (1 file)
Files folder imageclass (2 files)
Files folder imageinc (1 file)
Files folder imagejs (2 files)
Plain text file doc_en.txt Doc. English doc
Plain text file doc_fr.txt Doc. French doc
HTML file index.html Data index file

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,334
This week:0
All time:2,901
This week:206Up
 User Ratings  
 
 All time
Utility:41%StarStarStar
Consistency:66%StarStarStarStar
Documentation:75%StarStarStarStar
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:41%StarStarStar
Rank:3708