Skip to content

A PHP class which takes an image resource and returns the colour palette used in that image. Customizable in performance and accuracy.

Notifications You must be signed in to change notification settings

Ganners/ColourPalettePicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Colour Palette Picker

A PHP class which loops through and image and picks out frequently occuring colours. Using a weight system it filters these colours into the most dominant and orders.

Example usage can be found in examples/example1.php

Different speed and performance can be achieved by playing with $_threshold and $_thresholdIncrementations. The higher the number the greater the performance, the lower the number the better the accuracy.

Requires GDLib

  • Mark Gannaway

About

A PHP class which takes an image resource and returns the colour palette used in that image. Customizable in performance and accuracy.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages