AndLibNsgif
Introduction: This is a simple android gif decoder and player based on libnsgif compiled with NDK
Tags:
This is a simple android gif decoder and player based on libnsgif.
Screenshot
Detail
- This project is for demonstrate how to plug in jni with gradle and android studio
- Compiled with ndk and cmake.
- Also you may improve it to use for production
- The main code and logic is from libnsgif: http://www.netsurf-browser.org/projects/libnsgif/
- I have put the global static fields into structures to avoid instances share same resource
- there are more powerful image libraries could support gif animations such as fresco
- Libnsgif is licensed under the MIT Licence.
Begin To Use
dependencies {
compile 'com.hzy:nsgif:1.2.0'
}
About Me
- GitHub: https://huzongyao.github.io/
- ITEye 博客:https://hzy3774.iteye.com/
- 新浪微博: https://weibo.com/hzy3774
Contact To Me
- QQ: 377406997
- Gmail: hzy3774@gmail.com
- Foxmail: hzy3774@qq.com
WeChat: hzy3774
Others
- 想捐助我喝杯热水(¥0.01 起捐)