Java WEBP Reader
The JDeli Java image library includes a WEBP Reader to read WEBP images into Java. The WEBP Decoder is written in 100% Java and provides WEBP support with no dependencies.
Key information:
- 100% Java solution. No dlls or dependencies on native code
- Supports Lossy Compression
Quick start:
Add JDeli to your project via Maven or Gradle, or see using JDeli with Java modules.
JDeli can automatically detect the file type and will use the WEBP File Reader
BufferedImage image = JDeli.read(webpImageFile);
or
WebpDecoder decoder = new WebpDecoder();
BufferedImage image = decoder.read(webpData);
Frequently asked questions
Can Java read or decode WEBP files without external libraries?
No. Java’s built-in ImageIO does not support reading or decoding WEBP files. JDeli provides a pure-Java WEBP decoder with no dependencies required.
Does reading or decoding WEBP in Java with JDeli require additional libraries?
No. JDeli is a 100% Java library with no dependencies. It runs on any platform where the JVM runs with no additional installation.
What input types does JDeli support for reading WEBP?
JDeli can read and decode WEBP from a File, InputStream, or byte array.