android-ndkjpegencodelibjpeg

Android NDK Native JPEG encoding


How can I encode an array of ARGB pixels into JPEG (jpg) file using the NDK in C? But not using any call to the Java API wrappers from it? I saw there is a library call libjpeg, but I couldn't find any tutorial of how to use it in the NDK. Any more options?


Solution

  • Here is the tutorial for you please check this http://www.usefullcode.net/2011/01/android_ndklibjpeg.html open this link in google chrome or some other browser with google translator