Re: PIL: match for ImageMagick's display -ping

2006-11-09 Thread Mohammad Tayseer
>>> import Image>>> im = Image.open('myimage.jpg')>>> im.size(200, 100)PIL reads the header only in the Image.open() call above. Sponsored Link Mortgage rates near 39yr lows. $420,000 Mortgage for $1,399/mo - Calculate new house payment-- http://mail.python.org/mailman/listinfo/python-list

Re: PIL: match for ImageMagick's display -ping

2006-11-07 Thread Steve Holden
Torsten Bronger wrote: > Hallöchen! > > I have to extract the dimensions of many bitmap files. An old Bash > script did it with ImageMagick's "display -ping ...". "-ping" means > that it extracts the image dimensions efficiently. I suspect it > simply doesn't read the image itself. > > Now the

PIL: match for ImageMagick's display -ping

2006-11-07 Thread Torsten Bronger
Hallöchen! I have to extract the dimensions of many bitmap files. An old Bash script did it with ImageMagick's "display -ping ...". "-ping" means that it extracts the image dimensions efficiently. I suspect it simply doesn't read the image itself. Now the Bash script has been transformed into

PIL: match for ImageMagick's display -ping

2006-11-07 Thread Torsten Bronger
Hallöchen! I have to extract the dimensions of many bitmap files. An old Bash script did it with ImageMagick's "display -ping ...". "-ping" means that it extracts the image dimensions efficiently. I suspect it simply doesn't read the image itself. Now the Bash script has been transformed into