I\'m not sure how I would go about reducing the color palette of a PIL Image. I would like to reduce an image\'s palette to the 5 prominent colors found in that image. My ov
I assume you want to do something more sophisticated than posterize. "Sampling" as you say, will take some finesse, as the 5 most common colors in the image are likely to be similar to one another. Maybe take a look at the 5 most separated peaks in a histogram.