Outline & Shadow Painter gives a transparent sprite a crisp outline and a hard pixel shadow, each on its own layer, and can do the same for every cell of a sprite sheet. Menu: Edit › FX › Outline & Shadow Painter.

Install
Extension (recommended)
Open
Outline_Shadow_Painter.aseprite-extensionin Aseprite and confirm. The command appears under Edit › FX.Or as a script
Copy
Outline_Shadow_Painter.luainto your Aseprite scripts folder and use File › Scripts › Rescan Scripts.
Paint an outline and shadow
Open a sprite
Start with a transparent background. The painter reads the visible pixels of the current frame. Try it on the included
Brass_Key_128.png.Outline
Tick Paint outline, pick the Width (1-3 px) and Outline colour. Outline enclosed holes also outlines the inside of holes, such as the key's ring.
Shadow
Tick Paint hard shadow, pick the Shadow colour, Shadow opacity and Offset X / Y (positive or negative).
Paint
A new sprite opens with Artwork, Outline and Hard pixel shadow layers.
Compare with Key_Outer_Outline.aseprite (holes off) and Key_Inner_Outline.aseprite (holes on). Hide the shadow
layer to see the hole on its own.
Shadow opacity scales the silhouette's own alpha. Artwork close to the edge gets extra canvas so the outline and shadow both fit.
Sprite sheets
Tick Process each grid cell separately and enter the original Cell width and Cell height. The same settings and padding go on every cell, so the grid stays regular. If padding was needed, the dialog tells you the new cell size.
Save as .aseprite to keep the layers editable.
