TIFF File Comments - Namespace - Raster, Medical, Document Help

TIFF File Comments

When reading or updating TIFF comments, you must specify the comment type using the following constants.

For TIFF files: Each comment field can contain a character string. The maximum field size is 32K, except for the date-time field, which are always 20.

Please note that LEADTOOLS also supports IPTC Comments, which can be saved inside TIFF files. For more information, refer to IPTC Comments.

To obtain specified tagged data from a TIFF file or stream, use one of the RasterCodecs.ReadTag methods. To write or change a tag to an existing file, use one of the RasterCodecs.WriteTag or RasterCodecs.WriteTags methods.

For more information about file comments, refer to RasterCodecs.ReadComment and RasterCodecs.WriteComment.

For technical reasons, the following restrictions apply when you pass an IFD offset by setting the RasterCodecs.Options.Tiff.Load.ImageFileDirectoryOffset property if you set PageNumber to 1:

Help Version 20.0.2018.8.13
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Imaging, Medical, and Document