Skip to content

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

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages