ok thanks, sorry about that.
--- En date de : Mar 15.7.08, Fredrik Lundh <[EMAIL PROTECTED]> a écrit : > De: Fredrik Lundh <[EMAIL PROTECTED]> > Objet: Re: [Image-SIG] PIL Image.getcolors() returns None > À: image-sig@python.org > Date: Mardi 15 Juillet 2008, 13h25 > Guillaume Lathoud wrote: > > > 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". > > The quickest way to fix this bug is to double-check the > documentation: > > http://effbot.org/tag/PIL.Image.Image.getcolors > > Note the section that begins with "If the maxcolors > value is exceeded, > the method stops counting and returns None." > > </F> > > _______________________________________________ > Image-SIG maillist - Image-SIG@python.org > http://mail.python.org/mailman/listinfo/image-sig _____________________________________________________________________________ Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr _______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig