TIFF and LibTiff Mail List Archive


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

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 <>
Developer of cross-platform software for UNIX, OS/2 and Win32
U.S. agent for Triton Technologies International Ltd