[ITK Community] Windows TIFF size limit

Matt McCormick matt.mccormick at kitware.com
Fri Mar 7 00:54:39 EST 2014


On Thu, Mar 6, 2014 at 11:59 PM, Gib Bogle <g.bogle at auckland.ac.nz> wrote:

>  Sorry about the drip-feeding of updates...
>
> I found that replacing stat by _stat64 in the Open function enables the
> read to continue.  My program successfully compresses the big tiff.  The
> resulting file is not viewable by Irfanview, but I am able to uncompress it
> again.  It's possible that Irfanview cannot handle tiff files of this
> size.  I still need to figure out a way to check that all the files contain
> the correct data.
>
> The stat() function does not appear anywhere else in itkTIFFImageIO.cxx,
> so checking for big tiff is needed only in Open().
>

Great work!

Another program that might be used to validate is Fiji [1]

HTH,
Matt

[1]  http://fiji.sc/Fiji
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140307/5ce12199/attachment-0002.html>


More information about the Community mailing list