Open Jaca313 opened 5 months ago
Supporting a different delay does seem like a useful feature. I'll have to think about how that can be best exposed in the API.
The existing code was copied from, I think, Processing and I have always found it a bit unreliable but have not had time to look into it in detaill.
I think the path forward to create a new Frame
type that allows specifying parameters for the GIF encoding.
I'm still learning and i hope it is a simple issue. I would like to output my animation to a .gif file, but the delay seems to be coded to '20' in Java2dAnimationWriter and the gif is too fast.
Is it possible to change the delay in gif write while using approximately this syntax?
animation.take(10).write[Gif]("example.gif", frame)
If i would like to change it am I supposed to use setDelay with addFrame(BufferedImage) and GifEncoder directly instead?
Thanks for help