[Script][Extension] Export slices by Linus045 (Basically a GUI wrapper for the CLI option --split-slices)

I made a small script that basically wraps the --split-slices option to export slices as individual images in a command/menu button.

You can check it out here: GitHub - Linus045/export_slices: A plugin for Aseprite which exports the created slices as individual images

I made it very customizable.
You can change the file format and add additional parameters.

I never really worked much with Aseprite before and this is the first time using the API, also I’ve thrown it together in a few hours so there might be some bugs.
Make sure to backup your files beforehand!

I simply wanted to share this in case someone else might benefit from it.
For issues and questions feel free to create a issue on Github.

2 Likes

Hi, thank you for your contribution! Awesome script, do you know if its possible to automatically scale the exports? I’ve tried using —scale but that doesn’t seem to work in my case.

I’m glad the extension helps you.

I haven’t tested other CLI commands in combination yet, I’ll have a proper look within the next days when I have some free time.

For now though make sure that the order of the parameters is correct, as stated in the documentation --split should be put after the images you wanna scale, see here: Aseprite - Docs - Cli

In this case I would expect it to work when you put the scale flag at the very end, though I’ll do some testing myself and maybe expand the menu to include scaling if I get it working.

I have released a new version that allows you to set the scale via UI elements.
If there are any problems feel free to report them here or via a GitHub issue.
The same goes for new feature requests.

For more info and the download link see: GitHub - Linus045/export_slices: A plugin for Aseprite which exports the created slices as individual images