# image_dimensions

> An image side is outside 1-4096 px.

An image side is outside 1-4096 px.

| | |
| --- | --- |
| Kind | Build or validation problem |
| Reported by | Archive and source validation |
| `disko` exit code | 1 (problems) |

An image's width or height is outside 1–4096 pixels. Dimensions are read from
the PNG, JPEG or WebP headers; pixels are never decoded.

## Wrong

```text
art/background.png   8192 × 4096 px
```

## Right

```text
art/background.png   4096 × 2048 px
```

Resize the image, or split it into several images of at most 4096 px per
side.

## See also

- [Assets](/games/assets)
- [`file_too_large`](/errors/file_too_large)
