# Decoding

> Represents literal string values for the SVG decoding attribute.

[API reference](/docs/api/index.md) › [HTML SVG](/docs/extensions/html-svg/reference/index.md) › [Values](/docs/extensions/html-svg/reference/values/index.md) › Decoding

| enum | `UIAwesome\Html\Svg\Values\Decoding` |
| --- | --- |
| Backed by | `string` |
| Source | [`src/Values/Decoding.php`](https://github.com/ui-awesome/html-svg/blob/main/src/Values/Decoding.php#L14) |

Represents literal string values for the SVG `decoding` attribute.

Provides the keyword values used by the `decoding` attribute.

See also: [`Image::decoding()`](/docs/extensions/html-svg/reference/image/index.md#method-decoding).

## Cases

| Case | Value | Description |
| --- | --- | --- |
| <span id="case-ASYNC"></span>`ASYNC` | `'async'` | Decode the image asynchronously, after rendering and presenting the other content (`async`). |
| <span id="case-AUTO"></span>`AUTO` | `'auto'` | No preference for the decoding mode (`auto`). |
| <span id="case-SYNC"></span>`SYNC` | `'sync'` | Decode the image synchronously along with rendering the other content (`sync`). |