animated gif colours
Posted: 2011-06-02T10:11:49-07:00
i have successfully created an animated gif from these png images
convert -dispose previous -delay 200 -loop 0 w*.png w.anim.gif
i wanted to reduce the size of the final gif file so i created the png with a transparent background
convert -dispose previous -delay 200 -loop 0 w*.png w.anim.gif
convert backgroundGrid.png backgroundGrid.gif
convert backgroundGrid.gif w.anim.gif -loop 0 w.anim.gif
as you can see the colours are not correct
what am i doing wrong?
i think it is something to do with the palette but am not sure what
the first image into the pipeline should set the palette i guess or it is using some default palette but i don't understand how the first one works but not the second
i have tried converting the png to gif before making the animated gif and also tried a background.png but neither of these give a result similar to the first
TIA
Zeus
convert -dispose previous -delay 200 -loop 0 w*.png w.anim.gif
i wanted to reduce the size of the final gif file so i created the png with a transparent background
convert -dispose previous -delay 200 -loop 0 w*.png w.anim.gif
convert backgroundGrid.png backgroundGrid.gif
convert backgroundGrid.gif w.anim.gif -loop 0 w.anim.gif
as you can see the colours are not correct
what am i doing wrong?
i think it is something to do with the palette but am not sure what
the first image into the pipeline should set the palette i guess or it is using some default palette but i don't understand how the first one works but not the second
i have tried converting the png to gif before making the animated gif and also tried a background.png but neither of these give a result similar to the first
TIA
Zeus