- 4
- Posts
- 3
- Years
- Seen Sep 1, 2024
Hello!
I've written a little script to instantly convert a bunch of spritesheets into the gif format. It was made for the battle sprites, but it can be used with any spritesheet as long as all the frames are square.
DEPENDENCIES
ImageMagick (downloadable here)
INSTRUCTIONS
You need to save the following code as a .cmd file:
Then place it in the same folder as the spritesheets you want to convert, and execute it.
Goodbye kind stranger, I hope I helped a little in whatever you needed this for!
P.S. I don't really know what category this post belongs to. I selected "Release" because it's the closest to what I made.
I've written a little script to instantly convert a bunch of spritesheets into the gif format. It was made for the battle sprites, but it can be used with any spritesheet as long as all the frames are square.
DEPENDENCIES
ImageMagick (downloadable here)
INSTRUCTIONS
You need to save the following code as a .cmd file:
Code:
FOR %i IN (*) DO
magick identify -ping -format '%h' %i.png
magick convert -dispose 3 -delay 4 -loop 0 %i.png -crop %hx%h +repage %i.gif
Goodbye kind stranger, I hope I helped a little in whatever you needed this for!
P.S. I don't really know what category this post belongs to. I selected "Release" because it's the closest to what I made.