/webp-io

🌚 general format images and webp transform each other

Primary LanguageJavaApache License 2.0Apache-2.0

webp-io

The webp-io is convert normal image and webp file.

Usage

Maven dependency

<dependency>
    <groupId>io.github.biezhi</groupId>
    <artifactId>webp-io</artifactId>
    <version>0.0.5</version>
</dependency>

API

String src  = "a.webp";
String dest = "a.png";
WebpIO.create().toNormalImage(src, dest);

WebpIO.create().toWEBP("hello.png", "hello.webp");

Okay, lets go.