PHP Classes
elePHPant
Icontem

PHP Detect Image Background Color: Detect the dominant color used in an image

Recommend this page to a friend!
  Info   View files Example   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2019-05-27 (19 days ago) RSS 2.0 feedNot enough user ratingsTotal: 71 This week: 8All time: 9,392 This week: 45Up
Version License PHP version Categories
php-detect-image-col 1.0GNU General Publi...5PHP 5, Graphics
Description Author

This class can detect the dominant color used in an image.

It can take the path of an image file in JPEG or PNG formats and can create a scaled down image that will uses mainly the color that is dominant in an image.

The class can return the image dominant color as a string on RGB format or HTML tags to create an empty page with the body background color set to the image dominant color.

Recommendations

Extract the used color from the image.
Detect cloth on the image and extract the color of it

  Performance   Level  
Name: Hassane Moussa <contact>
Classes: 4 packages by
Country: Niger
Age: ???
All time rank: 34611 in Niger
Week rank: 27 Up1 in Niger Equal

  Files folder image Files  
File Role Description
Plain text file detectImageColor.php Class Class source
Accessible without login Image file images1.jpg Icon Icon image
Accessible without login Image file images2.jpg Icon Icon image
Accessible without login Image file images3.png Icon Icon image
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 100%
Total:71
This week:8
All time:9,392
This week:45Up