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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 574 All time: 5,352 This week: 61Up
Version License PHP version Categories
dimage 0.2GNU Lesser Genera...5PHP 5, Graphics


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: 311839 in Australia Australia
Week rank: 245 Up4 in Australia Australia Up


======================================================================== README ======================================================================== ABOUT: Image Class provides functions for creating and manipulating images with PHP INSTALL: move image.class.php to you server, ttf font files are required to use the text functions of this class USE: the file 'FUNCTIONS' contains details on each of the manipulation functions available see example.php for some usage examples LICENSE: Image Class is licensed under the LGPLv3, there's a copy of it in LICENSE I still claim ownership of it though :) DEVELOPMENT: 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,352
This week:61Up