Extrude sprite frames on exported Aseprite atlases. This script uses Pillow to edit the atlas image.
- The function takes both a path to the exported image and a path to the exported json file containing all sprite frame locations.
- The atlas must have enough padding between the frames to prevent the extrusion process from overwriting pixels. When using the CLI, use these parameters to create two pixel wide borders between frames:
--border-padding 1 --shape-padding 2
.
Aseprite currently cannot extrude sprite frames when packing sprite sheets. This script provides a workaround until this issue is resolved.