WebP library for java? [closed]

匿名 (未验证) 提交于 2019-12-03 01:47:02

问题:

Is there a library in java for creating/saving image files in the WebP format ?
I couldn't find anything that does this, except for googles encoder which is an exe file, and I don't want to have to execute some .exe from my code to do this...

回答1:

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



回答2:

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



回答3:

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.



转载请标明出处:WebP library for java? [closed]
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!