Skip to content
This repository was archived by the owner on Aug 23, 2025. It is now read-only.

Latest commit

 

History

History
15 lines (9 loc) · 404 Bytes

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