When reading or updating TIFF comments, you must specify the comment type using the following constants.
For a loop counter:
|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.
|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.|
|If you are using the nag version of LTKRN, this comment is fixed and cannot be changed.|
For more information about file comments, refer to:
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries