Reference image
referenceImport an external image as a locked semi-transparent layer for tracing proportions or sampling colors. Also read dominant colors from an image without importing it.
Instructions
Bring an external image into the sprite as a reference layer, so you can trace proportions or sample colours from it. Ops: 'import' (place an image on a locked, semi-transparent layer above the art), 'sample_palette' (read its dominant colours without importing), 'list', 'remove'. Importing at a different size uses nearest-neighbour; a photo scaled down to 32×32 is a starting point for a silhouette, never a finished sprite.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| op | Yes | ||
| fit | No | How to size the image against the canvas. | contain |
| name | No | Layer name. Default: 'reference'. | |
| path | No | Image file to read. | |
| colors | No | For 'sample_palette'. | |
| sprite | No | Sprite filename or id. Omit to use the sprite Aseprite has focused. | |
| opacity | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | ||
| layer | No | ||
| width | No | ||
| height | No | ||
| sprite | Yes | ||
| palette | No | Dominant colours with their share of the image. | |
| references | No |