PHP Classes

Image Class: Create and manipulate images

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2009-12-19 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 560 All time: 5,192 This week: 923Up
Version License PHP version Categories
dimage 0.2GNU Lesser Genera...5PHP 5, Graphics
Description Author

This class can be used to create and manipulate images.

It can create a blank image or from a file in GIF, PNG or JPEG formats.

The class can perform several types of image manipulation operations like getting pixel colors, finding a solid band of a color, fill an area with a color, draw ellipses, rectangles, lines, text, rescale the image, apply filters, crop the image, etc..

The processed image can be saved to a file or dumped as the current script output.

Picture of Lisa Milne
Name: Lisa Milne <contact>
Classes: 1 package by
Country: Australia Australia
Age: ???
All time rank: 295434 in Australia Australia
Week rank: 1577 Up18 in Australia Australia Up


Image Class provides functions for creating and manipulating images with

move image.class.php to you server, ttf font files are required to use
 the text functions of this class

the file 'FUNCTIONS' contains details on each of the manipulation
 functions available
see example.php for some usage examples

Image Class is licensed under the LGPLv3, there's a copy of it in LICENSE
I still claim ownership of it though :)

I work on this intermittently, updates will be available through my
 project site at or phpclasses
If you make any changes, let me know:
  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example Usage
Plain text file FUNCTIONS Doc. List of functions
Plain text file image.class.php Class The Class File
Plain text file LICENCE Lic. License
Plain text file README Doc. Readme File

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,192
This week:923Up