Message-ID: 3.0.5.32.19990910073004.00989d10@luna
To: Peter Smith <psmith@creo.com>, d_smith@ecrm.com
Subject: Re: Upping the 2Gb limit
From: Scott Wagner <wagner@itek.com>
Date: Fri, 10 Sep 1999 07:30:04 -0400
Cc: tiff@olympiakos.com
Sender: owner-tiff@olympiakos.com


Also from Tiff Rev. 6.0:

3 = SHORT   16-bit (2-byte) unsigned integer
4 = LONG    32-bit (4-byte) unsigned integer

StripByteCounts
For each strip, the number of bytes in the strip after compression
Tag  = 279 (117.H)
Type = SHORT or LONG
...

StripOffsets
For each strip, the byte offset of that strip
Tag  = 279 (117.H)
Type = SHORT or LONG
...

This rather clearly sets the data offset pointers and counters as unsigned,
and the limit as 4 GB.

At 08:47 09/09/1999 -0700, you wrote:
>Dan
>
>Revision 6.0 of the Tiff spec states the following in section 2 under the
>heading "Image File Header":
>
>The term "byte offset" is always used in this document to refer to a
>location with respect to the beginning of the TIFF file. The first byte of
>the file has an offset of 0.
>
>This seems to me like a round-about way of saying file offsets are
>unsigned, capable of referring to a maximum of 4Gb.  I haven't found any
>references to signed file offsets, have you?
>
>Peter
>
>At 08:57 AM 9/9/99 -0400, Dan Smith wrote:
>>Sorry, I've been asleep. Peter, could you remind/inform me: how does the
>>CURRENT TIFF spec allow file sizes >2Gb?
>>
>>
>-----------------------------------------------------------------
>Peter Smith
>mailto:plsmith@island.net  
>mailto:psmith@creo.com (forwarded directly to the above address)
>Phone: 250-285-2294
>
>

/*********************************************************************
* Scott Wagner  (swagner@itek.com)    NOTICE: My personal information,
* Staff Engineer                      including my E-mail address, may
* Itek Graphix                        not be sold, distributed, or made
* Rochester, NY USA                   public without my consent.
*********************************************************************/

