Right now I am going to try his class on a JavaFX application and I will share the results here.
A sample animation
This is the animation I generated using my code :
The source for this animation is here:
Based on Eliot's class, I created one which will take an amount of screenshots based on the given period and write an animated GIF on the given path(well, right now I didn't create the source yet, hope I will be able to make it work):
This code have no great performance since the snapshot method is not "performatic". If we set a small period to collect the GIF's frames, we will face slowness.
That's all, folks! Now you can use the above code in your application to export GIT animations from your JavaFX applications!
Nenhum comentário:
Postar um comentário