Macos – How to disable WebP images in Chrome

google-chromeimage conversionjpegmacos

Google Chrome sometimes takes a .jpg image and converts it to a .webp file.

The problem is that when I save this image to file, I cannot open the file. I have tried manually changing the extension of the file to ".jpg", but the file is still unreadable (without the use of external software).

Is there a way to completely disable .webp images in Chrome?

If not, is there an easy way or workaround to save an image that is presented as a WebP image, as a JPEG? The solution provided here does not work for me, as my URL contains no "-rw" suffix.

OS X El Capitan, version 10.11.6.

Best Answer

Open-source solutions

WebP is an image format currently developed by Google, based on technology acquired with the purchase of On2 Technologies.

If the User-Agent field in your HTTP(S) request header reveals you are using a recent browser, content delivery network (CDN) servers may serve original .jpg or .png images in this new WebP format to reduce data traffic. Nonetheless, these served image files will keep their original file extension; what is truly misleading.

On GNU/Linux systems, one solution consists in downloading the original image file using either the wget or curl command.

Several Google Chrome extensions offer a way to save images served as WebP in another image format. However, only one extension is open-source software; which is Save image as Type.

This and all other similar extensions have one annoying drawback, though. Between saves, these extensions do not recall the directory to which the previous image was saved. This may or may not be due to Google's sand-boxing policy concerning extensions. Anyhow, I opened a GitHub issue about it.

Save  image as Type

Related Question