TIFF File Comments
When reading or updating TIFF comments, you must specify the comment type using the following constants.
For a loop counter:
Value |
Meaning |
CMNT_LAST |
Last defined number for comments. To get all comments, you can use the comment type constant as a loop counter. The first constant is 0 and the last is CMNT_LAST. |
For TIFF files: Each comment field can contain a character string. The maximum field size is 32K, except for the date-time field, which is 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 |
CMNT_SZARTIST |
Person who created the image. |
CMNT_SZCOPYRIGHT |
Copyright notice. |
CMNT_SZDATETIME |
Date and time (YYYY:MM:DD HH:MM:SS). The field length is 20, counting the NULL terminator. |
CMNT_SZDESC |
Description of the image. |
CMNT_SZHOSTCOMP |
Computer and operating system in use. |
CMNT_SZMAKE |
Manufacturer of the equipment used to create the image. |
CMNT_SZMODEL |
Model name and number of the equipment. |
CMNT_SZNAMEOFDOC |
Name of the document from which the image was scanned. |
CMNT_SZNAMEOFPAGE |
Page name from which the image was scanned. |
CMNT_SZSOFTWARE |
Name and version of the software package used to create the image. |
For more information about file comments, refer to Comment property (ILEADRasterIO) and ReadComment method (ILEADRasterIO).