ImageMagick and transparent background for animated gif

前端 未结 2 1928
再見小時候
再見小時候 2021-02-05 02:42

I have an animation as a batch of .png files (100 files). The background is transparent in the source .png files. I want to convert them into a single animated gif. I have tried

2条回答
  •  离开以前
    2021-02-05 03:26

    The solution is here:

    http://www.alecjacobson.com/weblog/?p=2601

    The magic keyword seems to be “dispose” and calling the following fixed the problem:

    convert -dispose 2 screencapture-*.tga screencapture.gif
    

提交回复
热议问题