PHP Classes

phpGDImage: Draw basic graphics on images

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 54%Total: 3,001 All time: 1,231 This week: 524Up
Version License PHP version Categories
phpgdimage 0.1GNU General Publi...4.3.2Graphics


This class can be used to draw basic graphics on images.

It uses the PHP GD library functions to create an image with a given size .

The class can render several types of basic graphics on the image like points, lines, rectangles, filled areas and text. The graphics may be rendered with configurable colors, thickness and font parameters.

The generated image may be saved to a given server file in the PNG format or served as the current script output.

Picture of Mike Leigh
Name: Mike Leigh <contact>
Classes: 7 packages by
Country: United Kingdom
Age: 47
All time rank: 19312 in United Kingdom
Week rank: 305 Down14 in United Kingdom Down


#==============================================================================# +-----------------------------------+ | phpGDImage - PHP GD Library Class | +-----------------------------------+ Author : Mike Leigh Email : Website : Support : Licence : GNU GPL - see LICENCE file Version : 0.1 phpFile is a file manipulation class. Incorporating phpGDImage into your application is as simple as including the class file like so: include('path/to/image.class.php'); For installation instructions see the INSTALL file. For license details see the LICENSE file. For development history see the CHANGELOG file. #==============================================================================#

  • demo.png
  Files folder image Files  
File Role Description
Plain text file CHANGELOG Doc. Change Log
Plain text file image.class.php Class phpGDImage Main Class
Plain text file test.image.class.php Example Example Usage
Plain text file demo.image.class.php Example Creates the demonstration images
Plain text file LICENSE Lic. License File
Plain text file INSTALL Doc. Installation
Plain text file README Doc. Readme

 Version Control Reuses Unique User Downloads Download Rankings  
This week:0
All time:1,231
This week:524Up
 User Ratings  
 All time