AndLibNsgif

Introduction: This is a simple android gif decoder and player based on libnsgif compiled with NDK
More: Author   ReportBugs   
Tags:

This is a simple android gif decoder and player based on libnsgif.

Travis Travis

Screenshot

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

Contact To Me

Others

  • 想捐助我喝杯热水(¥0.01 起捐)
    donate
Apps
About Me
GitHub: Trinea
Facebook: Dev Tools