python imaging library - IOError: cannot identify image file -


can tell why pil can't open png file?

https://b75094855c6274df1cf8559f089f485661ae1156.googledrive.com/host/0b56ak7w-hmqax005c3g5etlbake/8.png

i ioerror: cannot identify image file, , looking @ code, seems tries pil.pngimageplugin.pngimagefile , corresponding "accept" function, , returns false

i'm using version 1.1.6

i don't know problem pil 1.1.6 tested latest pillow 2.4.0 , worked:

>>> pil import image >>> im = image.open("8.png") >>> im.show() 

pil in unmaintained , pillow actively maintained , developed fork. use pillow, first uninstall pil, install pillow.

further installation instructions here: http://pillow.readthedocs.org/en/latest/installation.html


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -