---
title: CGImagePropertyOrientation.up
framework: imageio
role: symbol
role_heading: Case
path: imageio/cgimagepropertyorientation/up
---

# CGImagePropertyOrientation.up

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

## Declaration

```swift
case up
```

## Discussion

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.

## See Also

### Image Orientations

- [CGImagePropertyOrientation.upMirrored](imageio/cgimagepropertyorientation/upmirrored.md)
- [CGImagePropertyOrientation.down](imageio/cgimagepropertyorientation/down.md)
- [CGImagePropertyOrientation.downMirrored](imageio/cgimagepropertyorientation/downmirrored.md)
- [CGImagePropertyOrientation.leftMirrored](imageio/cgimagepropertyorientation/leftmirrored.md)
- [CGImagePropertyOrientation.right](imageio/cgimagepropertyorientation/right.md)
- [CGImagePropertyOrientation.rightMirrored](imageio/cgimagepropertyorientation/rightmirrored.md)
- [CGImagePropertyOrientation.left](imageio/cgimagepropertyorientation/left.md)
