2002.09.06 17:02 "TIFF Tags modifcation", by KKP
Hi All I am new to TIFF programming and this library. Can anybody please help me on this issue
I will need to manipulate and add some TIFF tags to an existing TIFF. Will it be sufficient to simply move the existing data to accommodate the new entries and potentially changes in the length of values (I realize I have to update (and potentially move) the directory entries with the new offsets, as well)?
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?