Class ImageRightsMetadata
The rights statement a delivered picture carries inside its file, in the fields the IPTC Photo Metadata Standard defines and that image search engines, DAM systems and photo editors read: the copyright notice, the creator, the credit line, the usage terms and a web page stating the rights. Written as XMP by SetRightsMetadata(ImageRightsMetadata); PNG, JPEG, WebP and TIFF carry it.
public sealed class ImageRightsMetadata
- Inheritance
-
ImageRightsMetadata
- Inherited Members
Examples
using LMKit.Media.Image;
using ImageBuffer photo = ImageBuffer.Load("photo.jpg");
photo.SetRightsMetadata(new ImageRightsMetadata
{
Copyright = "© 2026 Northwind Studio. All rights reserved.",
Creator = "Jane Doe",
CreditLine = "Northwind Studio",
WebStatement = "https://northwind.example/licensing"
});
photo.SaveAsJpeg("photo-delivered.jpg", 90);
Fields
- MaxFieldLength
The longest value accepted in any field, in characters.
Properties
- Copyright
The copyright notice (IPTC "Copyright Notice", XMP
dc:rights).
- Creator
The creator's name (IPTC "Creator", XMP
dc:creator).
- CreditLine
How the picture must be credited (IPTC "Credit Line", XMP
photoshop:Credit).
- UsageTerms
The terms the picture may be used under (IPTC "Rights Usage Terms", XMP
xmpRights:UsageTerms).
- WebStatement
An absolute http(s) address of a page stating the rights (IPTC "Web Statement of Rights", XMP
xmpRights:WebStatement): the link image search engines show as the licence.