This is a quick note on how to export an animation as a sequence of PNG images—one image per frame—in Aseprite.
- Introduction
- How to Export Animation as PNG Sequence Images
- Tip: Customize the Filename for PNG Sequences
- Conclusion
- References
Introduction
By default, Aseprite exports animations in GIF format.
This is a guide on exporting animation frames as PNG sequence images (img1.png, img2.png...) instead of a GIF.
Note: This article was translated from my original post.
How to Export Animation as PNG Sequence Images
It’s actually pretty simple.
Just set the file format to PNG when exporting, and Aseprite will automatically output a sequence of PNG files.
1. Open the Export menu
From the top menu in Aseprite, select "File > Export > Export As..." to open the export screen.
2. Set the output file name with .png
format
In the export screen, choose any filename that ends with .png
.
3. Click the Export button
Clicking the "Export" button will show a confirmation alert that frames will be exported as a sequence of images.
As the alert indicates, the image sequence will have frame numbers appended to the end of the filename (e.g., test1.png, test2.png...).
4. Click the Agree button
Click "Agree" in the alert window to export each animation frame as a numbered PNG image.
Tip: Customize the Filename for PNG Sequences
If you want to control where the frame number appears in the filename, you can use {frame}
in the filename.
For example, if you set the filename as {frame}_test.png
, the output will be 1_test.png
, 2_test.png
, and so on.
Conclusion
There’s no special option for exporting as an image sequence—you just need to choose PNG format. This was a bit of a blind spot for me.
Hope this helps someone out there!
[Related Post]