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

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

Jannes,

On Mon, Dec 17, 2007 at 04:05:04PM +0000, Jannes Bolten wrote:

my issue with Enblend (the software that it's all about for me) is that large TIFFs (2.42GB in 16-bit) are created without any problems. but Photoshop won't open them.

There could be a number of reasons, why Photoshop can't open your files and you should start with libtiff utilities tiffinfo and tiffdump to get an idea what is wrong. Show us an output of this tools for one of the problematic files.

my work-around is to use NIP2, a front end for VIPS. it is created specifically to work with very large files (larger than installed RAM). NIP2 always manages to open them.

Then your files are not broken (at least not too much). By the way, NIP2 uses the same libtiff to work with TIFF files.

Enblend's author tells me that the Enblend binary i've used was probably compiled using a libtiff without large file support. he says he suspects that's the reason Photoshop wouldn't recognize the TIFF created by Enblend. he recommended that i compile myself and make sure large file support is enabled.

If LFS is a problem then software can't use offsets larger than 2^31. And your files should be cut exactly on 2GiB border. So it is pretty easy to check whether LFS is a real problem: just take a look at file size. If it is even few bytes larger than 2GiB then you don't have a problem with LFS.

Best regards,

Andrey

--
Andrey V. Kiselev
ICQ# 26871517