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
March 2002

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

2002.03.28 14:38 "Largest file size in TIFF", by Neil Talsania
2002.03.28 15:05 "Re: Largest file size in TIFF", by Ed Grissom
2002.03.28 15:10 "Re: Largest file size in TIFF", by Frank Warmerdam
2002.03.28 16:19 "Re: Largest file size in TIFF", by Christoph Kukulies
2002.03.28 16:26 "Re: Largest file size in TIFF", by Ed Grissom
2002.03.28 16:30 "Re: Largest file size in TIFF", by Gary Hewitt

2002.03.28 15:05 "Re: Largest file size in TIFF", by Ed Grissom

In a previous message, Neil asked :
> I have what is should be a simple question. 
> What is the largest possible TIFF file size? 

Just off the top of my head....

* For tiled files, one tile size minus one byte over 4GB. (i.e. last tile
index is 0xffffffff )

* For striped files with multiple strips, one strip size minus one byte over
4GB. (i.e. last strip index is 0xffffffff )

* For a single strip file, the limit seems to be 4GB * 4GB * nbands *
bytesperband.  Since nbands _could_ be 4Gig, and bytes per band _could_ be
4G, The largest possible files would be 4GB**4 .

* If you wanted the answer in terms of xsize and ysize, then it is 4Gig
pixels per line, with 4Gig lines.  With compression, this file could be well
under 4GB if the image was particularly uninteresting. 

Obviously, these last two cases are unreasonable, but you did ask for the
largest _possible_ size.  

-- 
ed grissom 
egrissom@ziimaging.com