Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

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

rahulbot/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