This code first loads raw png stream from the apk asset folder using JNI asset manager. Then it passes that stream to libPNG to extract bitmap data. Finally it generates openGL textures and renders the picture on the screen..
GL2libpng-android is hosted in the following web site
https://github.com/fakhirsh/GL2libpng-android
If you think the Android project GL2libpng-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of GL2libpng-android.
Item | Value |
---|---|
Java File Count | 3 |
Minimum SDK Version | 14 |
Activity Count | 1 |
Asset File Names | assets\Candy_Person.png |
The license information of GL2libpng-android is as follows:
MIT License