
Thread
2015.04.03 16:57 "Re: [Tiff] problem reading directories past 2GB on a 64bits system", by Romain Franconville
One last thing I saw: for the last directory it can successfully read (but
not the ones before), I get the following warnings from TIFFReadDirectory:
TIFFFetchNormalTag: Warning, ASCII value for tag "ImageDescription" contains null byte in value; value incorrectly truncated during reading due to implementation limitations.
TIFFReadDirectory: Warning, Wrong "StripByteCounts" field, ignoring and calculating from imagelength.
2015-04-03 10:51 GMT-04:00 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>:
> No, the directory count is well below 64k. It seems to have to do with
the 2Gb limit, as I always get the error for the first frame going over it. I'll try to check how the software producing those tiff writes them, it's probably the
>> source of the problem: so far I haven't found a single tiff reading
>> library able to open them completely.
In addition to whatever software you are using to drive libtiff, it is possible that Ubuntu-provided libtiff includes patches/changes (usually due to security concerns) which causes it to differ from the original libtiff release.
I was easily able to write TIFF files larger than 2GB, and BigTIFF files of 24GB under Ubuntu using GraphicsMagick, but I am using latest
CVS libtiff and not the library provided by Ubuntu. It is also not clear if the libtiff function calls are similar to your situation.