2009.07.14 17:56 "Re: [Tiff] TIFFTAG_RICHTIFFIPTC definition", by Phil Harvey
On 9-Jul-09, at 1:00 PM, Joris Van Damme wrote:
My humble advice when it comes to writing is using the datatype TIFF_BYTE or TIFF_UNDEFINED. The latter is probably the most 'correct' as it literaly signifies that the data is of mixed type and byte order and widths of data members is defined outside the scope of TIFF. The datatype TIFF_BYTE can be used as amounting to the same thing, though, mostly.
I must comment on this. TIFF_BYTE is VERY different from TIFF_UNDEFINED, and the two should not be interchanged. There are many cases where TIFF_BYTE is used incorrectly. It should NEVER be used in mixed data records. In the C language there might not be much difference between an array of bytes and a block of undefined data, but trust me -- they have very different representations in some other languages!