You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wonder that can we set speed higher (ex: 3x), it faster than decode time
i saw an android app did it (GifPlayer+: https://play.google.com/store/apps/details?id=jp.m_c8bit.gifplayer)
idk how did they do, i compared by using same gif and GifPlayer+ can do higher speed than this lib can decode
The text was updated successfully, but these errors were encountered:
There is no ready-to-use frame caching in this library. However you can use low-level APIs like GifDecoder to retrieve more bitmaps and create your own animated drawable.
The fastest solution probably is to use OpenGLES textures and display them e.g. in GLSurfaceView. GifTexImage2D can be used to create such textures.
@koral-- GifTexImage2D doesn't do any caching right now, can we reopen this? I would be awesome to have caching in GifTexImage2D instead of decoding frames at every loop. I think it could be easily done by using either a framebuffer or a memory buffer keeping the decoded frames. Either way it would speed up things massively and allow usage on live wallpapers which is basically not possible right now due to the insane CPU usage.
I wonder that can we set speed higher (ex: 3x), it faster than decode time
i saw an android app did it (GifPlayer+: https://play.google.com/store/apps/details?id=jp.m_c8bit.gifplayer)
idk how did they do, i compared by using same gif and GifPlayer+ can do higher speed than this lib can decode
The text was updated successfully, but these errors were encountered: