Skip to content

mreichelt/webp-android-backport-library

Repository files navigation

webp-android-backport-library

Backport of WebP library for Android devices < 4.3

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

Packages

No packages published