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
February 2004

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

2004.02.09 17:02 "Photoshop 8.0 and libtiff", by Don Ellis
2004.02.09 17:46 "Re: Photoshop 8.0 and libtiff", by Bob Friesenhahn
2004.02.09 18:07 "Re: Photoshop 8.0 and libtiff", by Frank Warmerdam
2004.02.09 19:42 "Re: Photoshop 8.0 and libtiff", by Don Ellis
2004.02.09 19:51 "Re: Photoshop 8.0 and libtiff", by Bob Friesenhahn
2004.02.09 19:58 "Re: Photoshop 8.0 and libtiff", by Frank Warmerdam
2004.02.09 19:59 "Re: Photoshop 8.0 and libtiff", by Thomas J Kacvinsky
2004.02.09 20:18 "Re: Photoshop 8.0 and libtiff", by Chris Cox
2004.02.09 19:48 "Re: Photoshop 8.0 and libtiff", by Bob Friesenhahn
2004.02.09 19:59 "Re: Photoshop 8.0 and libtiff", by Frank Warmerdam
2004.02.09 20:12 "Re: Photoshop 8.0 and libtiff", by Bob Friesenhahn
2004.02.09 20:36 "Re: Photoshop 8.0 and libtiff", by Don Ellis
2004.02.09 20:25 "Re: Photoshop 8.0 and libtiff", by Don Ellis
2004.02.09 20:50 "Re: Photoshop 8.0 and libtiff", by Bob Friesenhahn
2004.02.11 18:39 "Re: Photoshop 8.0 and libtiff", by Don Ellis
2004.02.13 19:11 "Re: Photoshop 8.0 and libtiff", by Don Ellis

2004.02.09 20:50 "Re: Photoshop 8.0 and libtiff", by Bob Friesenhahn

On Mon, 9 Feb 2004, Don Ellis wrote:

> Both td_imagewidth and td_imagelength are unsigned 32 bit integers and in
> the specifications they are also defined this way. So a Tiff image
> conceivably could be a total of 18 x10 to the 18th pixels. Multiply this by
> 4 to get four colors and the file size could be huge. Strips, tiles, and
> most of the other limiting variables are just used to speed things up. For
> very large files you may have to forgo the use of strips or do some
> modifications, such as limit a strip to the size of available memory, and
> modify some pointers to uint64. I see nothing in the code that prevents huge
> images.

I agree.  If the API interface bases toff_t and tsize_t on the
operating system's off_t and size_t definitions, then artificial
limitations imposed by libtiff's interface are removed.  These will
both be 64-bits on 64-bit systems using a 64-bit compilation
environment.  For 32-bit systems that support large files, off_t will
be 64 bits and size_t will be 32 bits.

The alternative is for libtiff to always use 64-bit types.  I have not
yet run across a modern CPU that doesn't support native 64-bit types,
although some may rely on assembly routines for some 64-bit math
operations.

> Should I continue to copy tiff@remotesensing.org?

Why not?  Files which stress the TIFF limits will become common over
the next several years.  Just as we passed the 640K "limit", we will
soon be passing the 4GB "limit".

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us
http://www.simplesystems.org/users/bfriesen