Opening PNG with PIL/Pillow
问题 I'm trying to use PIL / Pillow in Python to open a PNG image. You'd think it'd be trivial, but the images are showing up corrupted. Here's an example image: I tried loading it and showing it, using Python 3.4 and Pillow 2.7.0: $ python Python 3.4.0 (v3.4.0:04f714765c13, Mar 16 2014, 19:25:23) [MSC v.1600 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import PIL.Image >>> image = PIL.Image.open(r'C:\Users\Administrator\Dropbox\Desktop