| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread1999.02.04 14:29 "Re: StripByteCount value or offset", by Sim ZacksI understand that, which is why I was confused by the libtiff, which I guess always gives you a pointer to the array. It makes it easier for me, becuase I don't have to figure out if it is a value or an offset, I always get the pointer and I can allocate the memory for the number of strips, not caring if it is single strip, multi strip or if the value is contained with the tag or an offset. I think it is an excellent idea. I just didn't know before that that is how it works in Libtiff. I'd like to thank everyone who pointed this out to me. Sim -----Original Message----- From: James Palo [SMTP:jpalo@snowbnd.com] Sent: Thursday, February 04, 1999 8:36 AM To: Tom Lane; Sim Zacks Cc: 'tiff@olympiakos.com' Subject: Re: StripByteCount value or offset This is a basic fundamental of Tiff files. If the data size times the count of values fit into the offset field then this field can be the actual data and not an offset to an array. If you had a single strip then it would be contain the strip byte count for the single strip. If multiple strips then it would have to be an offset to an array of strip byte count values. In Tiff you have to handle both cases. Jim Palo Snowbound Software |
|||||||