Page 1 of 1
How to create an animated .png from two images
Posted: 2013-05-31T03:12:21-07:00
by Elapido
Hi. I'd like to know if ImageMagick can be used to join two .pngs into an animated .png. The result would be an infinite cycle of both images with an interval of 5 seconds. Thanx in advance!
Re: How to create an animated .png from two images
Posted: 2013-05-31T04:03:32-07:00
by Elapido
Following a tutorial I've been able to convert the files to animated gif, but I don't know how to obtain an animated png. Any help?
convert z:\convert\folder1\pic.png z:\convert\folder2\pic.png -gravity south -set delay 300 z:\convert\output.gif
Re: How to create an animated .png from two images
Posted: 2013-05-31T09:08:20-07:00
by GreenKoopa
Strictly speaking there is no such thing as an animated png. There is mng, apng, and others, but none are widely supported. Do you know specifically what you need?
MNG, Multiple-image Network Graphics
http://www.imagemagick.org/Usage/formats/#mng
Re: How to create an animated .png from two images
Posted: 2013-05-31T09:27:17-07:00
by fmw42
convert your pngs to an animated gif
Re: How to create an animated .png from two images
Posted: 2013-05-31T10:12:50-07:00
by Elapido
This is for a frontend program that doesn't accept animated gifs, only pngs. However, I still have to try if it accepts an animated png. I've just downloaded some from the web and I'll try tonight.
Re: How to create an animated .png from two images
Posted: 2013-05-31T12:15:56-07:00
by rich2005
I don't know that it is possible with IM
The whole point missed in the above is that gif is limited to 256 colours and apng not.
This takes you to most of the resources.
http://en.wikipedia.org/wiki/APNG
edit: sorry missed out the link
http://littlesvr.ca/apng/
The java application would do it for you:
http://i.imgur.com/G3ums7M.jpg
Sadly the Gimp plugin has died on my Linux installation, might work with windoze, but the linux command line apps work fine.
Try this.
http://rapidshare.com/files/1279951951/test.png made with japng. Play in your web browser.
Re: How to create an animated .png from two images
Posted: 2013-05-31T13:23:50-07:00
by fmw42
IM will only make MNG and not APNG. But MNG is not well supported. So you probably need to use some other tool besides IM if you want APNG.