AND-WebP icon indicating copy to clipboard operation
AND-WebP copied to clipboard

A native implementation of WebP codec for devices before ICS.

Introduction

Android has no support for WebP codec until ICS(4.0).

This project is a native implementation based on Chromium.

Features

public static native Bitmap nativeDecodeByteArray(byte[] data, BitmapFactory.Options options);

public static native byte[] nativeEncodeBitmap(Bitmap bitmap, int quality);

public static boolean isWebP(byte[] data);