Convert a JPG or PNG into the smaller, modern WebP format.
Your image is drawn onto a canvas and exported using the browser's built-in WebP encoder. WebP support is standard in nearly all modern browsers.