---
title: Orientation
summary: / Orientation specifies the cardinal orientation of the image.
url: https://www.fastly.com/documentation/reference/compute/sdks/go/compute-sdk-go/fsthttp/imageopto/enum.Orientation/
---

**Kind:** Enum  
**Module:** [imageopto](https://www.fastly.com/documentation/reference/compute/sdks/go/compute-sdk-go/fsthttp/imageopto/)  
**Package:** compute-sdk-go v1.11.0  
**Source:** https://github.com/fastly/compute-sdk-go/blob/d6bf71b04516ed72d6018cab6fff701a865f86e5/fsthttp/imageopto/imageopto.go#L304

```go
type Orientation int
```

Alias for `int`.

/ Orientation specifies the cardinal orientation of the image.

## Methods

### String

**Source:** https://github.com/fastly/compute-sdk-go/blob/d6bf71b04516ed72d6018cab6fff701a865f86e5/fsthttp/imageopto/imageopto.go#L318

```go
func (o Orientation) String() string
```

**Returns**

`string`
