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