# argus minimap-bake

> Talos next · Since next

Draw a scene's roads from above into a PNG for a HUD minimap, and write the ground area it shows (`minX`, `minZ`, `maxX`, `maxZ`, the `bounds` `Minimap` takes) beside it as JSON.

## Usage

```sh
argus minimap-bake [OPTIONS] <SCENE>
```

## Arguments

| Argument | Description |
|---|---|
| `<SCENE>` |  |

## Options

| Flag | Value | Default | Allowed values | Description |
|---|---|---|---|---|
| `--out` | `<OUT>` |  |  | Where to write the PNG; `ui/images/minimap.png` in the scene's project by default. The bounds go beside it, with `.json` for `.png` |
| `--size` | `<SIZE>` | `512` |  | The longer image edge, in pixels (16 to 2048); the other follows the track's shape |
| `--padding` | `<PADDING>` | `4` |  | Ground left around the roads on every side, metres |
| `--color` | `<COLOR>` | `#ffffff` |  | The road colour, `#rrggbb`; everything else is transparent |

## Example

```sh
argus minimap-bake <SCENE>
```
