Re: PIL throws exception when reading bitmap/pnm data

2006-12-01 Thread Roel Schroeven
Dennis Lee Bieber schreef: > Send a complaint to M$ requesting them to open document the NTFS > format... I've been out of the loop for a while, but the last time I > checked, NTFS was something that should be treated as read-only from > LINUX -- the recommendation was to make a small FAT-32

Re: PIL throws exception when reading bitmap/pnm data

2006-11-30 Thread Cameron Walsh
Cameron Walsh wrote: > Hi all, > > I'm trying to extract the data from a bitmap or .pnm file using the > following code: > > import Image > img = Image.open("test.bmp","r") > data=img.getdata() > > Unfortunately I get the following exception on Linux, but not on Windows: > data=img.getdata

PIL throws exception when reading bitmap/pnm data

2006-11-29 Thread Cameron Walsh
Hi all, I'm trying to extract the data from a bitmap or .pnm file using the following code: import Image img = Image.open("test.bmp","r") data=img.getdata() Unfortunately I get the following exception on Linux, but not on Windows: >>> data=img.getdata() Traceback (most recent call last): File