PeachImage
PeachImage.DecoderOptions
DecoderOptions.ApplyOrientation Property
When true, the decoded Image comes back upright: the EXIF orientation recorded in the file is applied to the pixels and reset in the image EXIF profile, as ApplyOrientation(ImageOrientation) does. Defaults to false, which leaves the pixels as stored (decoders never apply orientation by themselves).
public bool ApplyOrientation { get; init; }
Property Value
Remarks
Together with ScaleDenominator or TargetSize this saves work: the rotation or flip runs once on the already reduced image instead of on a full-size decode, and the caller needs no second copy. Without scaling it only saves the caller the extra call. The orientation comes from the header, as Orientation reports it.