[Image-SIG] PIL Image.getcolors() returns None

Guillaume Lathoud glathoud at yahoo.fr
Tue Jul 15 13:09:50 CEST 2008


Hello, here is an issue with PIL 1.1.6 on a Windows XP platform:

import Image
im = Image.open( 'pil-1.1.6-Image-getcolors.png' )
im.show()  # Displays the image correctly.
print im.getcolors()  # Bug: displays "None".

I am happy to send the attached png to anyone interested, in case it is filtered out by the mailing list server.

Best regards,

Guillaume Lathoud



      _____________________________________________________________________________ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pil-1.1.6-Image-getcolors.png
Type: image/png
Size: 10820 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/image-sig/attachments/20080715/6e7b0c09/attachment.png>


More information about the Image-SIG mailing list