AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

1999.07.19 12:53 "White point in CIELab TIFF files", by Martin Bailey
1999.07.19 14:12 "RE: White point in CIELab TIFF files", by Martí Maria
1999.07.19 16:03 "RE: White point in CIELab TIFF files", by Martin Bailey
1999.09.10 11:30 "Re: Upping the 2Gb limit", by Scott Wagner

1999.09.10 11:30 "Re: Upping the 2Gb limit", by Scott Wagner

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.
*********************************************************************/