outline_cel
Add a 1px outline around opaque pixels to make sprites stand out against any background. Fills adjacent transparent pixels with the outline color.
Instructions
Add a 1px outline around all opaque pixels of a cel.
Transparent pixels adjacent to opaque pixels are filled with the outline color. Great for making sprites read clearly against any background.
Args: filename: Aseprite file to modify layer_name: Layer to outline frame_index: Frame index starting at 1 color: Outline hex color (default black) include_diagonals: Also outline diagonal neighbors for a thicker, rounded outline (default False)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| layer_name | Yes | ||
| frame_index | Yes | ||
| color | No | #000000 | |
| include_diagonals | No |