AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

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
2007.12.17 15:06 "Re: [Tiff] Large file support in libtiff 3.8.2", by Bob Friesenhahn
2007.12.17 16:05 "Re: [Tiff] Large file support in libtiff 3.8.2", by Jannes Bolten
2007.12.17 16:15 "Re: [Tiff] Large file support in libtiff 3.8.2", by Bob Friesenhahn
2007.12.18 18:02 "Re: [Tiff] Large file support in libtiff 3.8.2", by Jannes Bolten
2007.12.18 17:32 "Re: [Tiff] Large file support in libtiff 3.8.2", by Jannes Bolten
2007.12.19 19:03 "[Tiff] libtiff 3.9?", by Jannes Bolten
2007.12.19 21:47 "Re: [Tiff] libtiff 3.9?", by John
2007.12.17 18:43 "Re: [Tiff] Large file support in libtiff 3.8.2", by Andrey Kiselev
2007.12.17 22:01 "Opening >2GB TIFF files [was: Re: [Tiff] Large file support in libtiff 3.8.2]", by Scid
2007.12.18 00:12 "Re: Opening >2GB TIFF files [was: Re: [Tiff] Large file support in libtiff 3.8.2]", by John

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