edit
Applies pixel-art operations to Aseprite sprites: fill, replace, mirror, outline, shading, copy, shift, palette quantization, layer splitting, cleanup, and detail scattering.
Instructions
fill{x,y,color,contiguous?} | replace{from,to} (all cels unless layer/frame) | mirror{mode:left_to_right|right_to_left|top_to_bottom|bottom_to_top|flip_h|flip_v} | outline{color?="auto" (darker hue-shifted neighbor), mode?:outside|inside, corners?} | shade{light?:top_left|top|...|bottom_right, depth?, highlightDepth?, shadow?/highlight?: color|"auto"|false, ignore?: colors (e.g. outline), strength?} | copy{x,y,width,height,toX,toY,fromLayer?,fromFrame?,flip?:h|v} | shift{dx,dy,wrap?} | split{toLayer, rects?:[[x1,y1,x2,y2]], rows?(mask, x,y), below?, backfill?=1} (cut a part onto its own layer for rigging: head, torso, arm_l, arm_r, leg_l, leg_r) | separate{colors?(default: border colors), seeds?:[[x,y]], toLayer?="background"|false, islands?=6, fillHole?=true} (split background from subject) | quantize{palette?: hex list|preset|"sprite", dither?:none|bayer|fs, strength? 0-1, setPalette?} (pull colors to a palette) | finishing: round{colors?,passes?} (cut box corners) | selout{outline?,light?,strength?} (outline tinted from what it borders) | aa{outline?,amount?=0.5} (soften stair-steps) | pixel_perfect{colors?} (remove doubled line corners); outline defaults to darkest color | simplify{minSize?=2,passes?=2,keep?:colors} (merge orphan pixels/tiny clusters: removes shading noise; run before 1px details) | volume{colors?,ramp?(dark->light)|bands?=4,light?,elevation?=1.2,ambient?=0.15,dither?=0..1,roundness?} (shade each region as a lit rounded form) | scatter{pattern?:clumps|leaves|grass|bark|scales|stone|speck | rows (h lighter,m base,s darker,d dark), tones?:{h,m,s,d: color} (fixed colors), maskLayer? (place only over that layer), lightBias?=0..1 (denser on the lit side), density?=0.6, spacing?=3, strength?=0.4, colors?, rect?, seed?, breakEdge?=true} (detail clusters following the light)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| frame | No | default 1 | |
| layer | No | default top layer | |
| action | Yes | ||
| preview | No | return preview image |