Skip to content

A PHP class to generate a color palette based on an image or a set of images (based on Sameer Borate's GetCommonColors)

Notifications You must be signed in to change notification settings

penn0312/PHP-Image-to-Color-Palette

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PHP Image to Color Palette

A quick PHP class to generate a color palette based on an image or a set of images. This is based on Sameer Borate's GetCommonColors.

Testing

Open index.php in your browser on a server.

Example

require_once("ColorPalette.php");
$localPalette = ColorPalette::GenerateFromLocalImage("MuppetsOfSesameStreet.jpg");
print_r($localPalette);

About

A PHP class to generate a color palette based on an image or a set of images (based on Sameer Borate's GetCommonColors)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%