I was wondering if anyone has seen the "buffer is not large enough" error before. I'm attempting to read in a TIF and write out a JPG. Is it possible that the TIF is corrupted somehow? It seems remarkably small. If you want to reproduce I've put the TIF file up at http://inkdroid.org/tmp/x.tif
//Ed >>> import Image >>> i = Image.open('x.tif') >>> i.save('x.jpg') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 1406, in save self.load() File "/usr/lib/python2.7/dist-packages/PIL/ImageFile.py", line 158, in load self.map, self.size, d, e, o, a ValueError: buffer is not large enough _______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig