TIFF Tag DNGPrivateData

IFDImage
Code50740 (hex 0xC634)
NameDNGPrivateData
LibTiff nameTIFFTAG_DNGPRIVATEDATA
TypeBYTE
CountN
DefaultNone

Description

Used in IFD 0 of DNG files.

DNGPrivateData provides a way for camera manufacturers to store private data in the DNG file for use by their own raw converters, and to have that data preserved by programs that edit DNG files.

The private data must follow these rules:

- The private data must start with a null-terminated ASCII string identifying the data. The first part of this string must be the manufacturer's name, to avoid conflicts between manufacturers.

- The private data must be self-contained. All offsets within the private data must be offsets relative to the start of the private data, and must not point to bytes outside the private data. (This is actually a rule that applies to all TIFF data blocks, and is necessary to enable data relocation and thus TIFF editing and transcribing and such, without corrupting your data.)

- The private data must be byte-order independent. If a DNG file is converted from a big-endian file to a little-endian file, the data must remain valid.

See also