PHP Classes

Image Functions: Colour and image processing routines

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,302 All time: 2,966 This week: 524Up
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  
Name: Andrew Collington <contact>
Classes: 16 packages by
Country: United Kingdom
Age: 50
All time rank: 563 in United Kingdom
Week rank: 206 Down12 in United Kingdom Down
Innovation award
Innovation award
Nominee: 3x

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,302
This week:0
All time:2,966
This week:524Up