WebP library for java? [closed]

孤街浪徒 提交于 2019-12-30 03:49:08

问题


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.



来源:https://stackoverflow.com/questions/17861601/webp-library-for-java

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