Rendering very dark items in animation mode causes the output gif to break
Tslat opened this issue ยท 4 comments
As title - if you give the animation renderer a rather dark item to render, it fails to correctly output the gif.
What the thing looks like to try and render:
https://static.wikia.nocookie.net/adventofascension_gamepedia/images/1/18/Dustopia_Portal.gif/revision/latest?cb=20200126132439
Scratch that, it seems to happen to other items, even when not dark...
Worth noting, this occurs with auto loop turned on or off, but if it's on, I notice the auto loop takes a lot longer - sometimes going up to 60-80 instead of the normal values it gets to
Seems to be an issue with the underlying gif writer (Or the metadata I provide), writing out the source data seperate show that individual frames are being renderered correctly.
This will probably be fixed with the migration from AWT (See #14).
I've provided a temporary stopgap where you can render the animation to a zip containing each frame. There should be tools available to convert the collection of png's into a gif (ImageMagick, ffmpeg, etc). Sorry whilst it's not ideal its the quickest 'fix' I can provide at the moment.