Skip to content

Instantly share code, notes, and snippets.

@damncabbage
Created February 12, 2013 23:42
Show Gist options
  • Select an option

  • Save damncabbage/4774574 to your computer and use it in GitHub Desktop.

Select an option

Save damncabbage/4774574 to your computer and use it in GitHub Desktop.
Adding a caption to an animated GIF with ImageMagick.
SOURCE=source.gif
TARGET=captioned.gif
FONT=/Library/Fonts/Impact.ttf
convert "$SOURCE" -pointsize 120 -gravity center -font "$FONT" -stroke black -fill white -strokewidth 3 -draw 'text 0,90 "RSI"' $TARGET
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment