---
title: Level
summary: Level specifies a set of constraints indicating a degree of required decoder performance for a profile.
url: https://www.fastly.com/documentation/reference/compute/sdks/go/compute-sdk-go/fsthttp/imageopto/enum.Level/
---

**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#L520

```go
type Level string
```

Alias for `string`.

Level specifies a set of constraints indicating a degree of required decoder performance for a profile.

This option is only used when converting animated GIFs to the MP4 format and when used in
conjunction with the profile parameter,

See https://en.wikipedia.org/wiki/Advanced_Video_Coding#Levels

## Methods

### String

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

```go
func (l Level) String() string
```

**Returns**

`string`
