hfhchan / libjpeg-turbo-android-sample

Sample project for integrating libjpeg-turbo into Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sample libjpeg-turbo integration for Android

Sample project for integrating libjpeg-turbo as a library on Android.

Since AWT is not supported on Android, only a subset of the TurboJPEG API can be used.

Binaries

.aar binaries for integrating libjpeg-turbo directly into your app are available on the releases page.

Installation

  1. Unzip the file libjpeg-turbo-2.1.1-***-release.aar.zip.
  2. Place the .aar file into the app/libs folder.
  3. Add the following snippet to the dependencies section of app/build.gradle:
    implementation files('libs/libjpeg-turbo-2.1.1-***-release.aar.zip')

Licenses

This sample is licensed under the MIT License.

libjpeg-turbo is covered by three compatible BSD-style open source licenses. Please see the license text for libjpeg-turbo here.

Sample image Bird Shore Animal licensed under the CC0 license from https://negativespace.co/bird-shore-animal/.

About

Sample project for integrating libjpeg-turbo into Android

License:MIT License


Languages

Language:C 56.9%Language:Assembly 32.0%Language:Java 6.4%Language:CMake 2.3%Language:Shell 1.0%Language:Roff 0.8%Language:C++ 0.5%Language:Kotlin 0.0%Language:Pascal 0.0%Language:CSS 0.0%