Skip to content

JoachimR/webp-android-backport-library

 
 

Repository files navigation

webp-android-backport-library

Backport of WebP library for Android devices < 4.0

A small project I have been working on in private - making the official WebP library easily accessible for Android developers that have to support older devices. Basic usage:

byte[] encodedWebPData = loadYourWebPDataFromSomewhere();
Bitmap bitmap = WebPBackport.decode(encodedWebPData);

See MainActivity as another example. The library automatically uses the faster native bitmap decoding feature of the system if it is available, so you don't have to care about it.

Let me know if this library is useful for you! If enough people like it I will add it to a Maven repository so you can add it to your Android project with one line in your build.gradle. :-)

License: Same as libwebp - see PATENTS file.

About

Backport of WebP library for Android devices < 4.3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 96.9%
  • Roff 1.3%
  • Java 0.5%
  • Python 0.4%
  • C++ 0.2%
  • Shell 0.2%
  • Other 0.5%