Java Image I/O reader and writer for the Google WebP image format.
webp-imageio is distributed under the Apache Software License version 2.0.
- Add webp-imageio.jar to the classpath of your application
- Ensure libwebp-imageio.so, libwebp-imageio.dylib or webp-imageio.dll is accessible on the Java native library path (java.library.path system property)
- The WebP reader and writer can be used like any other Image I/O reader and writer.
- Install CMake 2.8 or newer. CMake can be downloaded from www.cmake.org or installed using your systems package manager.
- Create a directory called 'build' in the root of the project
- Open a terminal and navigate to the newly created 'build' directory
- Run 'cmake ..' in the 'build' directory to generate the build scripts for your system.
- 'cmake --build .' to compile the library
- The compiled library can be found under the directory 'build/src/main/c'
- Install Buildr
- Run 'buildr package test=false' in the root of the project
- The compiled Java library can be found under the 'target' directory
- Install Maven
- Run 'mvn -Dmaven.test.skip=true package' in the root of the project
- The compiled Java library can be found under the 'target' directory