Page 1 of 1

How to create a GIF with 2 PNG files (command line)?

Posted: 2016-06-03T04:47:13-07:00
by pigeon33
Hello,

Do you know if it is possible to create an animation with 2 PNG files?

Let's say file1.png is a picture of a smiley happy and let's say file2.png is a picture of a smiley angry...

I would like to know if it is possible by using a command line to make an animation (a .GIF file) with file1.png and file2.png...

Moreover is it possible to loop this animation?

file1.png is visible x seconds >> file2.png is visible x seconds >> loop

Thank you in advance for helping me...

M.

Re: How to create a GIF with 2 PNG files (command line)?

Posted: 2016-06-03T05:05:32-07:00
by snibgo
For starters, try this:

Code: Select all

convert -loop 0 -delay 100 in1.png in2.png out.gif

Re: How to create a GIF with 2 PNG files (command line)?

Posted: 2016-06-03T18:24:27-07:00
by pigeon33
Hi Snibgo,

It works perfectly...

Thank you very much for your help!

M.