2008.03.25 18:36 "[Tiff] Can't write a BigTIFF file greater than 4 GB", by Audil Virk

2008.03.25 19:04 "Re: [Tiff] Can't write a BigTIFF file greater than 4 GB", by Frank Warmerdam

I am using the latest build of libtiff tiff-4.0.0alpha on Windows XP 32-bit.

I am performing a test where I write a BigTIFF file that I would like to be greater than 4 GB.

The file size will not go over 4 GB ( 4,194,258 Kbytes).

I use TIFFOpen with the "w8" parameter.

Strip size is one row.

I write scanlines one at a time using TIFFWriteScanLine and watch the file grow. It always stops at 4 GB.

Audil,

Do you know which file IO layer you are using? tif_unix.c works on windows, but only up to 4GB (AFAIK). You really need to use tif_win32.c for big file support. I'm not absolutely sure what is the default.

Best regards,
--
---------------------------------------+--------------------------------------

I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam

and watch the world go round - Rush    | President OSGeo, http://osgeo.org