Implementing TIFF Tags

The TIFF 6.0 Specification sets aside a range of private tags that developers can define. To avoid conflicts with files created by other developers, you can register your tag by contacting Adobe Developer Relations. (The E-Mail address posted on The Unofficial TIFF Home Page is gapdevsup@adobe.com.)

To define and set a tag, use the SetTag method.

To read tag data from a file, use the ReadTag method. To read tag data from a file in memory, use the ReadTagMemory method.

To get information about a tag, use the following:

GetTagData method

GetTagType method

GetTagCount method

You can enumerate tags using the EnumTags method. The EnumTags method enumerates all tags in a TIFF or Exif file. For each tag enumerated, the OnEnumTags event is generated. Through this event, you can obtain information about, or otherwise process, each tag that is enumerated.

To write tag(s) to a file, use the WriteTag method.