Displaying randomly some gif
in
Programming Questions
•
1 year ago
Hi guys,
I got a problem on a project.
I want to display some gif randomly and repeat each x times.
Displaying them randomly isn't a problem. I managed to do it with jpeg so it won't be hard I think.
The problem is the repeat program.
I'm using the library gifAnimation
file://localhost/Users/Romee/Documents/Processing/libraries/gifAnimation/docs/index.html
and I think that the amount of repeats is set into the gif himself
when I use the methods
int getRepeat()
it repeat itself perpetually as if my gifs were set for infinite repeats.
Does anyone knows how to set (or reset more precisely) the number of repeats into the gif?
I'm not sure it can be done with processing. Photoshop maybe?
Thank's a lot!
1