Login   Register  
PHP Classes

Image Functions: Colour and image processing routines

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-02-20 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,291 All time: 2,772 This week: 1,498Up
Version Licenses Categories  
image-functions 1.0Free For Educational Use, F...Graphics
Description Author  

This class provides an helpful collection of colour and image processing routines.

It can:

- Can the colour space to and from RGB, HLS and HSV formats
- Convert to and from an RGB array and HTML HEX values
- Retrieve the colour of a pixel and return it as an RGB array
- Compute the distance between two colours
- Determine the current GD library version used by PHP by parsing phpinfo() output
- Grey scale an image
- Sepia tone an image
- Apply a threshold limit to an image
- Return a range of colours from a start colour to an end colour in a given number of steps

Picture of Andrew Collington
Name: Andrew Collington <contact>
Classes: 13 packages by
Country: United Kingdom United Kingdom
Age: 40
All time rank: 514 in United Kingdom United Kingdom
Week rank: 377 Down15 in United Kingdom United Kingdom Down

  Files folder image Files  
File Role Description
Plain text file class.image.php Class The main class file.

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,291All time:2,772
 This week:0This week:1,498Up