AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2002.09.06 17:02 "TIFF Tags modifcation", by KKP
2002.09.06 17:45 "RE: TIFF Tags modifcation", by Duane H. Hesser ZZ
2002.09.10 12:58 "Re: TIFF Tags modifcation", by Jon Saxton

2002.09.10 12:58 "Re: TIFF Tags modifcation", by Jon Saxton

** Reply to message from "KKP" <karthikpandian@hotmail.com> on Fri, 6 Sep 2002 12:02:52 -0500

Also, according to the documentation I have seen, the Value will be placed in the directory entry if it fits in the four bytes otherwise used by the Offset. Am I correct in assuming that the determination will be based on the value type (i.e. BYTE, SHORT, LONG will be stored in the directory entry, while (ASCII) strings and RATIONAL values are pointed to by the Offset? Did I miss any of the value types?

Don't forget that very short strings will also be stored within the tag. Same for short arrays of 8-bit and 16-bit integers. You'll break a reader if the data is stored externally.

--
Jon Saxton <js@triton.vg>

Developer of cross-platform software for UNIX, OS/2 and Win32

U.S. agent for Triton Technologies International Ltd
http://www.triton.vg/