To install cwebp, run the following command:
./install.sh
To convert the images run: (possibly change the source image folder in the script)
./run_prepareimg.sh