[vtkusers] Bug in vtkTIFFReader reading multi-paged tiff file
David Gobbi
david.gobbi at gmail.com
Fri Nov 8 16:23:02 EST 2013
Hi Maarten,
Which version of VTK are you using? I believe that this bug has been
fixed in the master branch by a commits in the following topic merge:
http://vtk.org/gitweb?p=VTK.git;a=commitdiff;h=7e3d5270
It was not fixed in time for VTK 5.10, however.
David
On Fri, Nov 8, 2013 at 2:12 PM, Maarten Beek <beekmaarten at yahoo.com> wrote:
> Hi all,
>
> vtkTIFFReader crashed for me while loading a multi-paged tiff file.
>
> The crash occured in vtkTIFFReader::ReadGenericImage(), because
> this->OutputExtent was not set (still NULL).
> The scalar type for the image I was loading was unsigned short, so it
> happened at line 1368.
>
> I changed void vtkTIFFReader::ReadVolume(void* buffer) into void
> vtkTIFFReader::ReadVolume(void* buffer, int outExt[6]) and added the line
> this->outputExtent = outExt.
>
> This solved my crash.
> I am not sure I am on to something, but thought to let you know.
>
> Maarten
More information about the vtkusers
mailing list