I'm using CICLAnimationDataProvider and CBasicAnimation to display an animated GIF put it appears the frame delay is not respected so my animation plays much slower than it should. Is there a way to speed up the animation?
I'm using CICLAnimationDataProvider and CBasicAnimation to display an animated GIF put it appears the frame delay is not respected so my animation plays much slower than it should. Is there a way to speed up the animation?
I found the cause of my problem. It appears those APIs can't play GIFs with higher frame rate. Most likely a performance issue. I was using a GIF with the following specifications and that was playing way too slow:
Frames rate: 33.33 FPS
Delay between frames: 30ms
I tried 20 FPS but it would still play quite slowly. So eventually I settled down for using those specifications instead:
Frames rate: 6.66 FPS
Delay between frames: 150ms
Even though 6.66FPS seems quite low and the animation does not play very smoothly on PC (using FireFox) it does looks more than OK in the S60 3rd FP1 emulator and also quite good on the S60 3rd FP2 phone I was testing that on.
Maybe 10 or 15 FPS would do well too but I didn't bother testing that yet.