
© 2023 parker higgins dot net by Parker Higgins is licensed under CC BY 4.While creating the Happy New Year edition issue of the newsletter, I decided that it might be cool to animate the accompanying image. If you make a lot of gifs and like to mess with a lot of values, it might make sense for you to do it graphically. Different source material calls for different settings, and I try to keep the final output as small as possible. Gifsicle -colors=256 -delay=4 -loopcount=0 -dither -O3 *.gif > animation.gifĪnd then tweak the parameters from there. Sometimes I cheat on the command line here, and just look at all the pictures with Preview or Image Viewer and delete the ones I don’t need.įinally, use gifsicle to wrap it all up into an animated gif.

On Mac OS X, first install the Homebrew package manager, and then install these programs withīrew install mplayer imagemagick gifsicle

Sudo apt-get install mplayer imagemagick gifsicle On Ubuntu (or most anything Debian-based with large enough repositories - these are common programs) it should just be a matter of Make sure you have the programs installed. So I’ve worked out a process that uses the command line and requires only the programs mplayer, imagemagick, and gifsicle. But because I don’t always have access to a bunch of graphics software, and because I might be using my Ubuntu or OS X box, it’s nice to have a process that works with widely- and freely-available free software command line tools. Sometimes I see a few seconds of a video I’m watching and I think that it’d make a great animated gif. HOWTO: Create an animated gif from a video with command line tools
