How to edit animated gif speed (FPS) using imagemagick convert

Imagemagick convert can be used to edit animated gif speed (FPS). Here are some scenarios where convert can be used. For these commands to work Imagemagick need to be installed on your Mac or Linux.

Add delay to animated gif

$ convert -delay 50 animation1.gif animation2.gif

This will set a FPS (frame per second) to 100/50=2. You can change the 50 to some other desired value.

Add delay to animated gif and enable loop

$ convert -delay 50 -loop 0 animation1.gif animation2.gif

Loop value of 0 will cause it to run it forever. You can also specific some other value.

Share this article: share on Google+ share on facebook share on linkedin tweet this submit to reddit

Comments

Click here to write/view comments