Bad results when saving an anim to GIF
Posted: Fri Mar 10, 2017 2:36 pm
I've been trying to save anims to gifs, but seem to get some garbage to the saved gif anims often. I tried to play with different options (dither, colors, optimize, transparency), but seems that I can't find anything which would make a difference. I'm starting to think that maybe gif saving is buggy somehow?
For example:
Will result images like this...
Image after loading the original animation:
And image after saving and reloading the new gif anim:
In this example most of the frames look good, but then there are few in the middle with some leftovers and other glitches which don't belong to the image.
Same happens with SaveAnim and WriteAnimFrame.... and saving to for example APNG doesn't result similar garbage.
For example:
Code: Select all
LoadAnim(1,"Hollywood:MUIRoyale/Examples/Hollywood/Anim/Amy_Walks.anim")
DisplayAnimFrame(1,0,0,16)
SaveAnim(1,"ram:test.gif", #ANMFMT_GIF)
WaitLeftMouse
FreeAnim(1)
LoadAnim(1,"ram:test.gif")
DisplayAnimFrame(1,0,0,16)
WaitLeftMouse
Image after loading the original animation:
And image after saving and reloading the new gif anim:
In this example most of the frames look good, but then there are few in the middle with some leftovers and other glitches which don't belong to the image.
Same happens with SaveAnim and WriteAnimFrame.... and saving to for example APNG doesn't result similar garbage.