Link
Skip to main content

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);

See the full Javadoc.

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.


Why JDeli?

  • Support image formats such as AVIF, HEIC and JPEG XL that are not supported in Java.
  • Process images up to 3x faster than ImageIO and alternative Java image libraries.
  • Prevent JVM crashes caused by native code in other image libraries such as ImageIO.
  • Handle JPEG, PNG, TIFF image file formats fully in Java.
  • Keep your Image files secure as JDeli makes no calls to any external system or third party library.

Learn more about JDeli

Start Your Free Trial