PeachImage

PeachImage.ResizeOptions

ResizeOptions.CopyMetadata Property

When true, the resized image carries the source’s resolution and metadata profiles (ICC, EXIF, XMP, ...), which Resize(int, int, ResizeOptions) otherwise drops. EXIF is carried unchanged, so apply the image’s orientation first (see ApplyOrientationInPlace(ImageOrientation)), which resets it. Defaults to false.

public bool CopyMetadata { get; init; }

Property Value

System.Boolean