Getting cwebp, dwebp, and the WebP Libraries
cwebp
encodes images in either JPEG, PNG or TIFF format into WebP, while
dwebp
decodes them back into PNG. For a quick and easy way to get started
converting your images, the following archives are available on the
downloads repository.
libwebp-1.0.0-windows-x86.zip : 32-bit executables and libraries for Windows-x86 platform.
libwebp-1.0.0-windows-x64.zip : 64-bit executables and libraries for Windows-x64 platform.
libwebp-1.0.0-linux-x86-64.tar.gz : 64-bit executables and libraries for GNU/Linux-x86_64 platform.
libwebp-1.0.0-mac-10.13.tar.gz : 64-bit executables and libraries for Mac OS X 10.13 (High Sierra) platform.
All these archives contain both the cwebp
and dwebp
precompiled
executables, along with the libwebp.a
library and C headers (the latter
allowing you to add WebP encoding or decoding to your own programs).
Note (for Linux and Mac OS X):
The 64-bit GNU/Linux binaries have been dynamically linked to the jpeg, png and tiff libraries. These libraries should be available on your system. However, if starting the binaries prints an error about the availability of libpng, libjpeg or libtiff, check the section Preparing the Platform on this page for installing them on your system.
Conversely, the libpng, libjpeg and libtiff libraries have been statically linked in the Mac OS X binaries. They do not require additional installation.
OS X Package Managers
Additionally, the WebP tools are often available for Mac OS X via Homebrew and MacPorts.
What Next?
Go to Using WebP for instructions on how to start converting your images.