Skip to content
This repository has been archived by the owner on Jun 25, 2021. It is now read-only.

Latest commit

 

History

History
15 lines (9 loc) · 404 Bytes

README.md

File metadata and controls

15 lines (9 loc) · 404 Bytes

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);