Issue 19 in pylibtiff: Reading tiffarray of large images

12 views
Skip to first unread message

pyli...@googlecode.com

unread,
Feb 2, 2012, 9:40:21 AM2/2/12
to pylibtif...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

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)


Reply all
Reply to author
Forward
0 new messages