I don’t really understand why, but Google webp project doesn’t provide the compiled libwebp.dll files to download. It has only the precompiled utilities. If you just need the dlls, feel free to grab them from here:
If you want to compile them yourself using Visual Studio please follow the below step-by-step guide:
Preparation
- Download the desired version. Example: https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-0.6.0.tar.gz
- Unzip it to somewhere in your machine (e.g.: c:\Temp\libwebp-0.6.0)
Compile libwebp.dll for in 32 bits (x86)
- In the Programs menu, open All Programs | Microsoft Visual Studio (version) | Visual Studio Tools | VS(version) x86 Native Tools Command Prompt
- In the command prompt, go to the folder where you unzipped the files (e.g.: cd c:\Temp\libwebp-0.6.0)
- Type nmake /f Makefile.vc CFG=release-dynamic RTLIBCFG=dynamic OBJDIR=output
- VoilĂ : The file will be compiled under <your folder>\output\release-dynamic\x86\bin
Compile libwebp.dll for in 64 bits (x64)
- In the Programs menu, open All Programs | Microsoft Visual Studio (version) | VS(version) x64 Native Tools Command Prompt
- In the command prompt, go to the folder where you unzipped the files (e.g.: cd c:\Temp\libwebp-0.6.0)
- Type nmake /f Makefile.vc CFG=release-dynamic RTLIBCFG=dynamic OBJDIR=output
- VoilĂ : The file will be compiled under <your folder>\output\release-dynamic\x64\bin