Carlos wrote: > Hello, > > Could someone who is familiar with image manipulation tell me what is > the best way to obtain the list of colors inside an image? > > By best I'm referring to something that gets the job done in the fastest > way, because this operation will be repeated a number of times.
The Image object in the Python Imaging Library has a getcolors() method that seems to do what you want. http://www.pythonware.com/library/pil/handbook/image.htm Kent _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor