Configuration
Kilnpack reads kilnpack.toml from the current folder. Command-line flags override the file.
Example
[pack]
max_page = 2048
padding = 2
trim = true
sort = "area"
[output]
manifest = "atlas.json"
format = "png"
Options
| Key | Default | Meaning |
|---|---|---|
max_page | 2048 | Largest atlas page, in pixels |
padding | 1 | Pixels kept between sprites |
trim | true | Remove transparent borders |
sort | "height" | Placement order: height, area, or name |