convert image to webp a minimal example for converting image to webp format. Only work on linux with webp installed Install webp on Debian/Ubuntu: sudo apt install webp