Hello,
I am looking for a script to extract the main/most used colors in an image.
I wrote a function that uses the GD library to extract all the colors, I sort them in an array.
The problem is, I have various sorts of blue in the array. How would I limit it to only use colors that are clearly different from each other?
An example of a script that does what I would like to do:
http://www.degraeve.com/color-palette/index.php
Thank you for your reply





Bookmarks