PeachImage
PeachImage.ImageInfo
ImageInfo.Orientation Property
The orientation recorded in the file’s metadata (EXIF, or the format’s own equivalent), or Normal when there is none. It is informational: decoders never apply it, so Width, Height and the decoded pixels are always as stored.
public PeachImage.ImageOrientation Orientation { get; init; }