Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 812 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 812 Bytes

pngquant-android

pngquant with basic Java bindings for Android. pngquant

###Usage: In your build.gradle:

dependencies {
    compile 'com.ndahlquist:pngquant-android:0.2'
}

In your Android app:

File inputPngFile = getYourPng();
File outputPngFile = getOutputFile();
new LibPngQuant().pngQuantFile(inputFile, outputFile);

###Building:

  • This project includes git submodules; please make sure to git clone --recursive. Alternatively, git submodule init; git submodule update.
  • On OS X, please install wget: brew install wget.
  • From the top-level directory, run ./gradlew installDebug. This will download all dependencies, build the library, and install a test application to a connected Android device.