The following code
from PIL import Image
img = Image.open('test.png')
img.show()
throws "IOError: broken data stream when reading image file". Reading the image from the camera roll works flawlessly, though:
import photos
img = photos.pick_image()
img.show()
The first image prints as
<PIL.PngImagePlugin.PngImageFile image mode=RGBA size 152x152 at 0xDFB438C>
the second one as
<Image.Image image mode=RGBA size 152x152 at 0xDFB460C>
But PIL.PngImagePlugin.PngImageFile is a subclass of Image.Image and things like img.show() should work in both cases. In fact, nothing seems to work with the first img.
A quick peruse of google seems to suggest that this might be caused by a libjpeg version problem.
PS: It used to work with Pythonista 1.3.