android-ndk-gif icon indicating copy to clipboard operation
android-ndk-gif copied to clipboard

each frame delay not correct

Open 2666fff opened this issue 7 years ago • 2 comments

delay is faster between each frame by using Gifdecoder.decode.delay(index) try out this gif http://cdn.appcloudbox.net/keyboardarts/download/stickers/LoveGif/LoveGif/LoveGif-06.gif

2666fff avatar Mar 26 '18 12:03 2666fff

I checked the delay field in the gif file. The delay value was stored as zero. As the link below, images with delays less than 100 ms are processed by most players to 100 ms.

http://forums.mozillazine.org/viewtopic.php?t=108528

waynejo avatar Mar 26 '18 17:03 waynejo

ah thats the problem, i checked the delay and set it to 100ms when its zero. thanks man

2666fff avatar Mar 27 '18 03:03 2666fff