New issue 19 by leo.guig...@gmail.com: Reading tiffarray of large images
http://code.google.com/p/pylibtiff/issues/detail?id=19
What steps will reproduce the problem?
from libtiff import TIFFfile
tif=TIFFfile("3D_sliced_tiff_image_of_800MB.tiff")
tif.get_tiff_array()[:]
What is the expected output? What do you see instead?
I expect a 3D array
I get IndexError: tuple index out of range from the line 35 (function
__get_item__(self, index) of tiff_array.py :
indices = range (*index.indices(self.shape[0]))
What version of the product are you using? On what operating system?
/pylibtiff-0.3.0.dev78-py2.7
on Ubuntu 11.10
Please provide any additional information below.
The function works on the same image if I crop it before (800MB to 200MB)