IImageDecoder.ReadOrientation method
Reads the image orientation from the encoded metadata without decoding pixels; Identity by default.
public ImageOrientation ReadOrientation(ReadOnlySpan<byte> encoded)Remarks
Section titled “Remarks”Kept separate from TryDecode so the fast byte[] pixel path is preserved and the cheap metadata scan never forces an array copy. Formats without orientation metadata need not override it.
See Also
Section titled “See Also”- enum ImageOrientation
- interface IImageDecoder
- namespace Aprillz.MewUI.Resources