aseprite -b player.aseprite --sheet player.png --data player.json --sheet-type packed --format json-array
-bbatch mode, no window--sheetthe PNG,--datathe frame metadata (positions, durations, tags)--sheet-type packedpacks frames tightly;rowsorcolumnskeep them in a grid--format json-arrayinstead of the default hash, easier to loop over
Export one tag only, or every layer as its own file:
aseprite -b player.aseprite --tag walk --save-as walk-{frame}.png
aseprite -b player.aseprite --split-layers --save-as layer-{layer}.png
--scale 4 upsizes without blur on the way out. On Windows the executable is Aseprite.exe in the install folder, or in Steam under steamapps/common/Aseprite.