How to Generate GIF Image in Java with delay and infinite loop

You may also like...

Subscribe
Notify of
guest
1 Comment
Oldest
Newest
Inline Feedbacks
View all comments
Joel
Joel
January 27, 2024 12:57

This helped me easily create a gif from Java. Thanks!
A small detail is that when loop is false it will loop once (running the animation twice). After some googling on the gif metadata I figured out if you don’t want to loop you shouldn’t add the NETSCAPE ApplicationExtension at all.

1
0
Would love your thoughts, please comment.x
()
x