Enumeration Case

UIImageOrientationLeft

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

Declaration

UIImageOrientationLeft

Discussion

If an image is encoded with this orientation, then displayed by software unaware of orientation metadata, the image appears to be rotated 90° clockwise. (That is, to present the image in its intended orientation, you must rotate 90° counter-clockwise.)

Figure 1

Correcting image data with left orientation for display

To correct an image with left orientation for display, rotate it 90° counterclockwise.

See Also

Image Orientations

UIImageOrientationUp

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

UIImageOrientationDown

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

UIImageOrientationRight

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

UIImageOrientationUpMirrored

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

UIImageOrientationDownMirrored

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

UIImageOrientationLeftMirrored

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

UIImageOrientationRightMirrored

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