Website Optimisation Tip: Converting .pngs to .webp

Convert your images to .webp for better load times.

Using Command Prompt navigate to the folder with your image.

If you have just one image you can use this line : the 70 is the quality of the output. 0 is lowest 100 is highest

cwebp -q 70 yourImageName.jpg -o yourImageName.webp

If you have a whole folder of images, you can use the following to make it quicker.

`for file in images/*; do cwebp -q 70 $file -o ${file%.*}.webp”; done`