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.
Value | Meaning |
---|---|
RasterCommentMetadataType.Artist | Person who created the image. |
RasterCommentMetadataType.Copyright | Copyright notice. |
RasterCommentMetadataType.DateTime | Date and time (YYYY:MM:DD HH:MM:SS). The field length is 20, counting the NULL terminator. |
RasterCommentMetadataType.Description | Description of the image. |
RasterCommentMetadataType.HostComputer | Computer and operating system in use. |
Manufacturer of the equipment used to create the image. | |
Model name and number of the equipment. | |
RasterCommentMetadataType.NameOfDocument | Name of the document from which the image was scanned. |
RasterCommentMetadataType.NameOfPage | Page name from which the image was scanned. |
RasterCommentMetadataType.Software | Name and version of the software package used to create the image. |
For more information about file comments, refer to RasterCodecs.ReadComment and RasterCodecs.WriteComment.