ImageOrientation enumeration
Normalized image orientation whose values match the EXIF Orientation tag (1-8).
public enum ImageOrientation : byteValues
Section titled “Values”| name | value | description |
|---|---|---|
| Normal | 1 |
No transform. Row 0 is top, column 0 is left. |
| Identity | 1 |
Alias of Normal for readability where “no orientation” is meant. |
| MirrorHorizontal | 2 |
Mirror across the vertical axis (flip left-right). |
| Rotate180 | 3 |
Rotate 180 degrees. |
| MirrorVertical | 4 |
Mirror across the horizontal axis (flip top-bottom). |
| Transpose | 5 |
Reflect across the main (top-left to bottom-right) diagonal. |
| Rotate90 | 6 |
Rotate 90 degrees clockwise. |
| Transverse | 7 |
Reflect across the anti (top-right to bottom-left) diagonal. |
| Rotate270 | 8 |
Rotate 90 degrees counter-clockwise (270 clockwise). |
Remarks
Section titled “Remarks”A parsed EXIF value maps without an intermediate table, and the diagonal cases (5/7) stay unambiguous: each is a single named transform rather than a rotation and mirror pair whose application order could differ. Raw decoded pixels are never rotated; this value travels as metadata and is applied at draw and layout time by the consumer (see OrientationTransform). Unknown or invalid values normalize to Normal.
See Also
Section titled “See Also”- namespace Aprillz.MewUI.Resources