Webp Converter
The JDeli Java image conversion library is able to open and export images as WEBP files, giving a complete bulk WEBP converter between WEBP file format and lots of other image file formats.
JDeli can do this in ONE step with the convert method or separately open and export the WEBP image.
Currently JDeli only supports lossy compression and does not support transparency or lossless compression for Decoding. They are both supported for Encoding.
Batch Convert images to WEBP from Command Line or other language
java -jar jdeli.jar --convert webp "inputFileOrDir" "outputDir"
Convert into WEBP or from a WEBP image file in Java
JDeli.convert(File inFile, File outFile);
JDeli.convert(InputStream inFile, OutputStream outfile, String format);
byte[] outputData=JDeli.convert(byte[] inputData, String format);
An additional set of methods allow values to be passed in which can give more control over conversion, depending on the image formats being converted (ie different image compression options).