R1NC / AND-WebP

A native implementation of WebP codec for devices before ICS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A native implementation of WebP codec for devices before ICS.

License:Apache License 2.0


Languages

Language:C 80.4%Language:Makefile 17.0%Language:C++ 2.4%Language:Java 0.2%