AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2012.02.28 15:59 "[Tiff] BigTiff support (libtiff 4.0.1 vs libtif f4.1)", by Cip Cipper
2012.02.28 16:44 "Re: [Tiff] BigTiff support (libtiff 4.0.1 vs libtif f4.1)", by Even Rouault
2012.02.28 19:09 "Re: [Tiff] BigTiff support (libtiff 4.0.1 vs libtif f4.1)", by Andreas Kleinert
2012.02.28 19:57 "Re: [Tiff] BigTiff support (libtiff 4.0.1 vs libtif f4.1)", by Joris Van Damme
2012.02.29 08:22 "Re: [Tiff] BigTiff support (libtiff 4.0.1 vs libtif f4.1)", by Cip Cipper
2012.02.29 13:48 "Re: [Tiff] BigTiff support (libtiff 4.0.1 vs libtif f4.1)", by Olivier Paquet
2012.02.29 14:43 "Re: [Tiff] BigTiff support (libtiff 4.0.1 vs libtif f4.1)", by Bob Friesenhahn
2012.02.29 15:07 "Re: [Tiff] BigTiff support (libtiff 4.0.1 vs libtif f4.1)", by Olivier Paquet
2012.03.01 00:21 "Re: [Tiff] BigTiff support (libtiff 4.0.1 vs libtif f4.1)", by Joris Van Damme

2012.02.28 15:59 "[Tiff] BigTiff support (libtiff 4.0.1 vs libtif f4.1)", by Cip Cipper

Hello!

I have implemented a solution for saving big tiff files using libtiff library.

While developing I have used in the beginning the library provided here: http://www.aperio.com/bigtiff/

It was more than I needed as the output was depending on the size of the file. If it did not exceed 4 GB the result was a standard Tiff (version 42) and if it was larger than 4GB the library managed to save it as a large Tiff (version 43) without any "external" intervention.

Unfortunately, it was crashing while trying to save palette images so I have decided to use the stable libTiff4.0.1 lib

As I have discovered this library saves bigTiff files only if "w8" argument is passed. This is ok until you save a compressed image and you can not foresee the output size of the image. It would have been perfect to keep smaller files as a standard (vers 42) tiff files.

Is there a solution to save a file as a standard tiff if it's less than 4GB and as a bigTiff otherwise? Like I have described the functionality in tiff 4.1?

Thank you,

Ciprian