How do I remove the flickering in this ImageMagick produced animation. Ive tried exactly as documented.
magick.exe -dispose none -delay 0 ./temp/0000.png -dispose previous -delay 9 ./temp/$($prefixName)* -loop 0 ./output/$($prefixName).gif
The flicker is your empty frame 0000.png
. There is no "instant" frame replacement in a Gif (in other words your -delay 0
is replaced by the smallest allowed delay), so your empty image is visible for a short while.
But specifying that initial frame appears unnecessary, you can generate your animation with
magick.exe -dispose previous -delay 9 ./temp/$($prefixName)* -loop 0 ./output/$($prefixName).gif
and IM does the right thing with the first frame: