Pil image module, "mode" bug..

Abandoned besturk at gmail.com
Sun Oct 7 09:03:06 EDT 2007


Hi..
I find the picture color with:
im=Image.open("/%s" %name)
color=im.mode   #p=black & beyaz rgb=color L=grey

This usually work true but in these pictures:
http://malatya.meb.gov.tr/images/alt/ilsis_logo.gif
http://malatya.meb.gov.tr/images/meb.gif

Say me P (black&white) but these pictures are color..

What is the reason of this ?

I'm sorry my bad english




More information about the Python-list mailing list