Creating gifs of screen captures on a Mac

convert -coalesce source.gif target_%05d.png
convert -delay 200 target_*.png updated.gif
convert updated.gif -resize <new-size> updated_resized.gif
convert updated_resized.gif -layers optimize updated_resized_optimized.gif

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store