Image.Orientation
The orientation of an image.
Declaration
@frozen enum OrientationOverview
Many image formats such as JPEG include orientation metadata in the image data. In other cases, you can specify image orientation in code. Properly specifying orientation is often important both for displaying the image and for certain kinds of image processing.
In SwiftUI, you provide an orientation value when initializing an Image from an existing CGImage.