[Image-SIG] using getcolors( ) properly

Eduardo Ismael eismb at hotmail.com
Sat Apr 25 15:00:39 CEST 2009


Hi,

I had no success using im.getcolors(). I now there is something you have to do to avoid getting None as a result, but I could not understand the following from the manual:
"To make sure you get all colors in an image, you can pass in size[0]*size[1]" 
Can anyone give an example of passing in "size[0]*size[1]"?
_________________________________________________________________
Messenger 2009: Instale já!
http://download.live.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/image-sig/attachments/20090425/228b7852/attachment.htm>


More information about the Image-SIG mailing list