2010.07.08 16:25 "[Tiff] strlcpy vs strncpy", by Bob Friesenhahn

2010.08.06 16:38 "Re: [Tiff] tiff4 on 32-bit Windows", by Bob Friesenhahn

On Fri, 6 Aug 2010, jcupitt@gmail.com wrote:

On 6 August 2010 16:21, Bob Friesenhahn <bfriesen@simple.dallas.tx.us> wrote:

tiff4 seems to work well on my usual machine (64-bit linux), but I'm having trouble creating files over 4GB with a 32-bit Windows binary.

Are you using tif_unix.c or tif_win32.c for I/O?

Drat, I'd totally forgotten about that, thank you Bob.

I tried with -DUSE_WIN32_FILEIO and I still get

TIFFAppendToStrip: Maximum TIFF file size exceeded

Was tif_win32.c used in the build (without tif_unix.c)? Using it may require editing a Makefile. A potentially silly issue is if you forgot to pass the "8" TIFFOpen option to request BigTIFF format. Usually a large file issue is reported as a failure to seek.

at the 4gb mark. I'm now wondering if it's a compiler bug (I'm stuck on gcc3.4). More digging!

I do seem to recall large-file issues with old MinGW.

Bob
--
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/