Connect gif-animation, and JPG/PNG
Posted: 2012-12-28T17:08:45-07:00
Hi!
There was a challenge to combine gif-animation and static image JPG or PNG (Impose hyphae-animated background).
I do so:
convert 2.gif -coalesce -set dispose previous 2_tmp.gif - get rid of the artifacts
convert 2_tmp.gif +adjoin tmp/gifs.png - split gif into frames
* further processes each frame separately *
convert -loop 0 tmp/*.png result.gif - collect in animation
But unfortunately the speed is very slow, there may be a simpler solution?
Thank you!
There was a challenge to combine gif-animation and static image JPG or PNG (Impose hyphae-animated background).
I do so:
convert 2.gif -coalesce -set dispose previous 2_tmp.gif - get rid of the artifacts
convert 2_tmp.gif +adjoin tmp/gifs.png - split gif into frames
* further processes each frame separately *
convert -loop 0 tmp/*.png result.gif - collect in animation
But unfortunately the speed is very slow, there may be a simpler solution?
Thank you!