Version 1.3.3 Image Sequence Export

Initially, this post was about version 1.3.2. Turns out this had a nasty bug where image export would never end. Once you exported images for an animation, every time you ran an animation after that, it would continue to pump out frame images. All fixed now.

Hot on the heels of 1.3.1 comes 1.3.21.3.3. This adds a feature I’ve had on the list for a while – the ability to export an animation as a sequence of individual images. It also fixes the OSX version by adding in an edit menu, restoring copy, cut, paste, select all, undo, etc.

https://github.com/bit101/gifloopcoder/releases/tag/1.3.3

Image sequence export is somewhat similar to the sprite sheet export, but in this case, every single frame is saved out as a separate image file. You’ll get a file save dialog allowing you to choose a file name. The actual files will have sequential numbers appended to them. For example, if you had a 2-second animation at 30 frames per second and chose myanim.png as the file to save to, you’d wind up with 30 files named myanim_0000.png through myanim_0029.png. It’s best to choose an empty folder to save these in, as for longer animations, you could wind up with hundreds of images.

I was surprised how well this works and just how quick it is. I maxed out the duration and fps sliders to create an 1800 frame animation and it handled it all without a hiccup.

Having image sequence export opens up a whole realm of possibilities:

First, the GIF encoder included in GLC is not the best. Hey, it’s written in JavaScript. I didn’t write it, so I won’t complain. And it does the job. But there are better tools out there that will probably do a better job at compression and color quantization. For example, you can use ImageMagick on the command line within your export folder something like this:

convert -delay 3.33 -loop 0 *.png anim.gif

Note that ImageMagick’s delay is in terms of hundredths of a second. And it has all kinds of other options to tweak the output. You could even combine the output of multiple animations together to have a longer gif.

Gifsicle is another command line tool that allows you to create gifs from image sequences. Photoshop will also do this.

This also opens the door to formats beyond gif. There are plenty of other programs that will create video files from image sequences.