PHP Classes
elePHPant
Icontem

Image Functions: Colour and image processing routines

Recommend this page to a friend!
  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 (11 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,295 All time: 2,861 This week: 916Up
Version Licenses Categories
image-functions 1.0Free For Educatio...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
  Performance   Level  

  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,295
This week:0
All time:2,861
This week:916Up