23

The normal Imageio Library says it cannot read the Webp format images. Are there any simple methods to read and webp images in java?

Varsha R
  • 3
  • 3
gillyb
  • 8,760
  • 8
  • 53
  • 80

3 Answers3

4

Found this library today: webp-imageio. Haven't tried it out yet, but it looks like it'll do encoding using ImageIO.

Rob
  • 1,351
  • 1
  • 11
  • 11
1

sprd-webp is another java JNI library based on webp-imageio. It is a wrapper around googles libwebp and not a real java implementation.

kiar
  • 76
  • 2
0

Java VP8 Decoder is a GPL3 library currently in beta that can read webp image format. It seems there is no encoding facility at the moment.

A possible alternative would be using VLCJ, a Java bindings library for VLC (webp support should be available out-of-box in lastest versions afaik).

A third library is jvp8, a dual-licensed commercial/GPL native wrapper which allows to use the VP8 video codec.

guido
  • 18,864
  • 6
  • 70
  • 95