PHP Classes

File: index.php

Recommend this page to a friend!
  Classes of Hassane Moussa   PHP Detect Image Background Color   index.php   Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Detect Image Background Color
Detect the dominant color used in an image
Author: By
Last change:
Date: 4 years ago
Size: 520 bytes


Class file image Download
                            Main Using Class DetectImageColor
$path = "images3.png";

$mainDetectImageColor = new DetectImageColor($path);

//echo $mainDetectImageColor->getColorBackground($mainDetectImageColor->getHexa($path))."<br/>";