PNG File Comments (original) (raw)

PNG has MMX optimized code for loading and saving files, and it supports comments. Comments can be saved when saving a PNG file, but comments inside existing files cannot be updated. The following comments are supported:

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.Make Manufacturer of the equipment used to create the image.
RasterCommentMetadataType.Title Title of the image.
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 software package used to create the image.
RasterCommentMetadataType.Disclaimer String containing the disclaimer of the software used to create the image.
RasterCommentMetadataType.Warning Warning statement associated with the software that created the image.
RasterCommentMetadataType.Misc Miscellaneous information.

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