2007.12.17 09:29 "[Tiff] Large file support in libtiff 3.8.2", by Jannes Bolten

2007.12.17 15:03 "Re: [Tiff] Large file support in libtiff 3.8.2", by Andrey Kiselev

On Mon, Dec 17, 2007 at 09:29:28AM +0000, Jannes Bolten wrote:

I want to compile a program called Enblend on my system. My purpose is to have it blend images of over 300 mega pixels. The author of Enblends says that for that to work, my libtiff must be compiled with large file support.

Is large file support enabled by default, or does the configure script require specific options for large file support to be enabled?

If so, what are they? Couldn't find anything in the documentation with the source code.


In first of all: what do you mean as the large file support? In libtiff 4.0 we have support for the new TIFF flavor called BigTIFF. TIFF 6.0 design has the file size limit 4GiB, you can't create larger files. If it is what you want (create files larger than 4GiB) then you need libtiff 4.0.

If you are happy with libtiff 3.9 and 4GiB is enough for you, then configure script should do the work automatically, there is no need in any special options. If you are suspecting for some reason that large file API is not used in your build then the first thing you should do is to check the tif_config.h file in libtiff/ directory. It should contain

#define _FILE_OFFSET_BITS 64

That is enough to switch it on. If it is not enabled then we need your config.log to diagnose the problem.

Best regards,


Andrey V. Kiselev
ICQ# 26871517