scale_sprite
Resize an entire Aseprite sprite, including artwork, by a scale factor or exact width and height. Choose nearest for crisp pixels or bilinear for smoothing.
Instructions
Scale the whole sprite (artwork included).
Provide either `factor` (e.g. 2.0 to double) OR explicit `width`/`height`.
method: "nearest" (crisp pixels, default) or "bilinear" (smooth).
The scaled canvas is subject to the same dimension/area caps as `create_sprite`.
With `factor` the result depends on the sprite's current size, so that check runs
inside Aseprite and reports the size it would have produced.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | ||
| factor | No | ||
| height | No | ||
| method | No | Default: "nearest". | nearest |
| filename | Yes |