Robert Kern wrote: > Marc 'BlackJack' Rintsch wrote: >>It's fast enough to open the file and read the meta-data. The OP wants to >>decode the actual pixels. > > Okay. > > In [12]: %time d = img.getdata() > CPU times: user 0.31 s, sys: 1.43 s, total: 1.73 s > Wall time: 6.19
And for comparison: In [2]: f = open('foo.tiff') In [3]: %time s = f.read() CPU times: user 0.04 s, sys: 0.28 s, total: 0.32 s Wall time: 2.40 Of course, it's all a moot point since the OP actually has a different problem with PIL, not its speed. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter -- http://mail.python.org/mailman/listinfo/python-list