AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
September 2006

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2006.09.20 17:20 "TIFF file bigger than 2Go", by <dlpnet@free.fr>
2006.09.20 18:14 "Re: TIFF file bigger than 2Go", by Bernie Pallek
2006.09.20 18:19 "Re: TIFF file bigger than 2Go", by Bernie Pallek
2006.09.20 19:58 "Re: TIFF file bigger than 2Go", by Chris Cox
2006.09.21 08:08 "Re: TIFF file bigger than 2Go", by <dlpnet@free.fr>
2006.09.21 10:11 "Re: TIFF file bigger than 2Go", by Joris Van Damme

2006.09.20 18:14 "Re: TIFF file bigger than 2Go", by Bernie Pallek

Dlpnet wrote:
> 
> I have problems creating TIFF file bigger thant 2 Go, or more 
> precisely I cannot read this kind of file with any viewer I 
> find : Photoshop, Irfan, ImageMagick, ...

It's almost certainly a limitation of the 32-bit signed ordinal types used
by practically all existing architectures (until true 64-bit architectures
become mainstream).

The limit for TIFF is 4GO because it assumes an unsigned long integer
(32-bit ordinal).  But APIs for file handling on most OS are probably using
signed integers in order to return error values or whatever.

Windows supports "large file" APIs, but they would have to be tweaked into
libtiff.  It's definitely possible, but it'll require modifications to
anything that uses stuff like fopen(), etc.

That's just a guess, but a confident one.