If a picture is worth 1000 words, does that mean an animated GIF is worth num_frames * 1000 words?
That question aside, I wanted a dead simple way to create animated GIFs of my screen in order to show off some OOP programming concepts.
After coming across a few websites that offer a “video to GIF” conversion service, I found a nice gist on the subject. Browsing through the comments, I found a comment, which included a nice and tidy bash function utilizing two of my favorite command line utilities
imagemagick. I made a few tweaks to suit my needs. Now, I can cook up a GIF of anything in the span of a few minutes by recording my screen with QuickTime and running a single command.
You can drop this in wherever you like to store your bash functions. If you aren’t sure where it should go, place it at the end of your