The webp-io is convert normal image and webp
file.
Maven dependency
<dependency>
<groupId>com.hellokaton</groupId>
<artifactId>webp-io</artifactId>
<version>0.0.6</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.