Skip to content

Instantly share code, notes, and snippets.

@lkwatson
Created February 3, 2020 22:31
Show Gist options
  • Save lkwatson/57d6d0cc29a65335368e2b4cf354821a to your computer and use it in GitHub Desktop.
Save lkwatson/57d6d0cc29a65335368e2b4cf354821a to your computer and use it in GitHub Desktop.
Overlay two gifs on top of each other with ImageMagick
convert source-a.gif -coalesce a-%04d.gif
convert source-b.gif -coalesce b-%04d.gif
for i in {0000..0200}; do composite -blend 50% a-$i.gif b-$i.gif c-$i.gif; done
convert -loop 0 -delay 10 c-*.gif result.gif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment