Contents

CGImagePropertyOrientation.up

The encoded image data matches the image’s intended display orientation.

Declaration

case up

Discussion

The (x,y) pixel coordinates of the origin point (0,0) represent the leftmost column and top row, respectively. Pixel (x,y) positions increase left-to-right, top-to-bottom.

If an image is encoded with this orientation, then displayed by software unaware of orientation metadata, the image appears correctly “right side up”. That is, this orientation is an identity value.

[Image]

See Also

Image Orientations