WebP libraries for Java
The JDK’s ImageIO has no WebP support. Both libraries below are ImageIO plugins: add the jar and ImageIO.read opens .webp files.
- webp-imageio reads and writes WebP through bundled libwebp native libraries (Windows, macOS, Linux). Pick it when you need to write WebP. Apache 2.0.
- TwelveMonkeys
imageio-webpis a pure Java decoder for lossy, lossless and alpha WebP. No native code, so it works on any JVM, but it can’t write. BSD-3-Clause.
- TwelveMonkeys TwelveMonkeys imageio-webp is a pure Java WebP reader plugin for ImageIO. How to add it, read lossy, lossless and transparent WebP files.
- webp-imageio webp-imageio is a Java ImageIO plugin for WebP that bundles libwebp. How to read WebP with ImageIO, write lossy and lossless WebP and set the quality.