Skip to content

The missing encoder to encode android.graphics.Bitmap to Windows Bitmap (*.bmp)

License

Notifications You must be signed in to change notification settings

Tianscar/android-bmp-encoder

Repository files navigation

Android BMP Encoder

The missing encoder to encode android.graphics.Bitmap to Windows Bitmap (*.bmp)

Add the library to your project (gradle)

  1. Add the Maven Central repository (if not exist) to your build file:
repositories {
    ...
    mavenCentral()
}
  1. Add the dependency:
dependencies {
    ...
    implementation 'com.tianscar.android:android-bmp-encoder:1.0.2'
}

Usage

BmpEncoder.compress(Bitmap bitmap, Outputstream stream);

JavaDoc
A simple example

License

MIT (c) Karstian Lee