Can you encode/decode image into WebP in Pure Java without any native library?

Viewed 65

Can you encode/decode image into WebP in Pure Java without any native library?

What I've seen are implementations that use external library, either embedded or otherwise to the library.

1 Answers

There is a git repo which encode decodes webp with animation support but It does not support the transparent background yet. I had to set image background as solid color to use those image for encode decode.

To make changes in this project or add alpha channel support (transparency) you should learn about googl's webp container specifications

Related