Go to file
WangQiang d22bed4c29 init 2017-03-02 13:03:37 +08:00
src/main init 2017-03-02 13:03:37 +08:00
test_pic init 2017-03-02 13:03:37 +08:00
.gitignore init 2017-03-02 13:03:37 +08:00
README.md init 2017-03-02 13:03:37 +08:00
pom.xml init 2017-03-02 13:03:37 +08:00

README.md

j-webp

Java Image I/O reader and writer for the Google WebP image format.

基于webp project of Luciad 0.4.2版本修改.

实际上只修改了com.luciad.imageio.webp.WebP.loadNativeLibrary这一个方法.
因为按他默认的加载方式, 需要把native的so/dll/dylib等文件放到OS对应的java.library.path对应的目录才能加载到, 这会给部署带来一些不便.

所以我们这里换成了native-lib-loader自动加载, 编译构建好的包里已经包含了各种OS上的native文件, 使用时会自动加载.

具体使用方法可参看src/main/java/example下的源码.