PeachImage

PeachImage.EncoderOptions

EncoderOptions.IncludeMetadata Property

Whether the encoder re-emits metadata captured on the source Image: its XMP packet and its EXIF block (JPEG APP1, PNG eXIf, WebP EXIF, an AVIF Exif item, JPEG XL) and, unless IncludeIccProfile says otherwise, its ICC profile, plus the format’s own extras (PNG gamma, text and resolution chunks). GIF, BMP and animated WebP have nowhere to put an Image’s metadata and write none. An EXIF block too large for a JPEG APP1 segment (about 64 KB) is left out. Defaults to true.

public bool IncludeMetadata { get; init; }

Property Value

System.Boolean