Animate on linux command prompt gif

To Animate images (even simple ones) sometimes difficult to achieve, and not every one has 700.00 USD to pay for the adobe products or you just do not want to pay 20 USD for adobe cloud for a simple animation. Here you can find a note to know how to create .gif animation from the command prompt in linux (in my case Debian).

The first is to install imagemagick.

sudo apt-get install imagemagick

Them Go to the folder where you have the images to convert in the animate .gif  e.g.

cd /home/abel/img

After that you can convert all of your images to the size that you need for the animate slide show:

 mogrify -resize 640x480 *.png

If you have already done that with any other software like Gimp you can omit this step last step.

Then you actually animate .gif with this command:

convert -delay 20 -loop 0 *.png myimage.gif
Animate: Digital Experience Shop

Animate: Digital Experience Shop

Now; -delay 20 is the time to change the image, may be you need to add a different timing. Loop 0 is to repeat infinitely, if you want to do it just a few times you can change this value. *.png because all the images in the folder where I am are all .png, but you can do it also with jpeg. If you want to animate a complex image like this one. I mean animate every single element on this picture, I think you need to use something more complex but for simple animations like 2 or 3 logos rotating should be good enough.

Cheers

 

Leave a Reply

Your email address will not be published. Required fields are marked *