How to create an animated .png from two images
How to create an animated .png from two images
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
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
convert z:\convert\folder1\pic.png z:\convert\folder2\pic.png -gravity south -set delay 300 z:\convert\output.gif
- GreenKoopa
- Posts: 457
- Joined: 2010-11-04T17:24:08-07:00
- Authentication code: 8675308
Re: How to create an animated .png from two images
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
MNG, Multiple-image Network Graphics
http://www.imagemagick.org/Usage/formats/#mng
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: How to create an animated .png from two images
convert your pngs to an animated gif
Re: How to create an animated .png from two images
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
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.
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.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: How to create an animated .png from two images
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.