Enumeration Case

UIImage.Orientation.downMirrored

The image has been vertically flipped from the orientation of its original pixel data.

Declaration

case downMirrored = 5

Discussion

If an image is encoded with this orientation, then displayed by software unaware of orientation metadata, the image appears vertically flipped. (Alternatively, the image is rotated 180° and then flipped horizontally.)

Figure 1

Correcting image data with downMirrored orientation for display

To correct an image with downMirrored orientation for display, flip it vertically.

See Also

Image Orientations

case up

The original pixel data matches the image's intended display orientation.

case down

The image has been rotated 180° from the orientation of its original pixel data.

case left

The image has been rotated 90° counterclockwise from the orientation of its original pixel data.

case right

The image has been rotated 90° clockwise from the orientation of its original pixel data.

case upMirrored

The image has been horizontally flipped from the orientation of its original pixel data.

case leftMirrored

The image has been rotated 90° clockwise and flipped horizontally from the orientation of its original pixel data.

case rightMirrored

The image has been rotated 90° counterclockwise and flipped horizontally from the orientation of its original pixel data.