Enumeration 列挙

Image.Orientation

The orientation of an image.

Declaration 宣言

@frozen enum Orientation

Overview 概要

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.

Topics 話題

Getting Image Orientations

Getting Mirrored Image Orientation

Getting All Orientations

Creating an Orientation

Comparing Orientations

Relationships 関係

See Also 参照

Image Fundamentals