Tiff Image Reader/writer

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Wed Jun 15 16:22:24 EDT 2005


In <mailman.396.1118698763.10512.python-list at python.org>, Robert Kern
wrote:

> PyPK wrote:
>> One reason why I don't want to use PIL is it seems very slow for tiff
>> images of very large sizes(2400x4800). So I am looking for a better
>> tool than does the right job faster.
> 
> This isn't fast enough?
> 
> In [8]: %time img2 = Image.open('foo.tiff')
> CPU times: user 0.00 s, sys: 0.01 s, total: 0.01 s
> Wall time: 0.03
> 
> In [9]: img2.size
> Out[9]: (2400, 4800)

It's fast enough to open the file and read the meta-data.  The OP wants to
decode the actual pixels.

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list