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 NOTE: If you are using the Nag version of Leadtools.dll, this comment is fixed and cannot be changed. |
Name and version of the software package used to create the image. |
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:
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.