You can find the open source project here : http://www.webmproject.org/code/
To build the tool from source
1 2 3 | $ git clone https://chromium.googlesource.com/webm/libwebp $ cd libwebp $ make -f makefile.unix |
You can find the dwebp utility under “examples” folder
1 2 3 | $ cd examples $ cp cwebp /usr/local/bin/ $ cp dwebp /usr/local/bin/ |
You can test it out using the test.webp in the same folder
1 | $ dwebp test.webp -o test.png |