PeachImage

PeachImage.DecoderOptions

DecoderOptions.SkipMetadata Property

When true, the decoded Image carries no metadata profiles at all (EXIF, XMP, IPTC, ICC, text and the rest of Profiles), HasLocation is false, and the decoder and the location scan do not parse any of it. For a caller that only needs the pixels. Defaults to false.

public bool SkipMetadata { get; init; }

Property Value

System.Boolean

Remarks

Colour handling that needs the profile (ConvertToSrgb()) then has nothing to work from. The embedded ICC profile is otherwise always returned as the file’s raw bytes: its tags are only parsed when GetIccColorProfile() is called. Identify(Stream, DecoderOptions) skips the location scan but still reports the header-level Orientation.