Save WebP images as JPG or PNG with this Firefox extension

You may have come across an image format known as WebP, it has been around for about a decade now. This image container was developed by Google, and is used by many websites, including shopping portals.

Save WebP as PNG or JPEG - page context menu

The annoying thing about WebP is, not a lot of image editors support the format. So, when you download a WebP image you may have some difficulty using it. You can’t save it into a different format directly, but there are a couple of workarounds.

The simplest way, which I had been using until recently, is to copy the image to the clipboard, paste it in an image editor, and then save it in a different format. That’s not exactly convenient but it works.

Recently, I came across an add-on called Save WebP as PNG or JPEG (Converter). The extension has been really useful for me, and I mentioned it in my article about Firefox 88. But first, here’s an example screenshot where I tried to save an image, it was in the WebP format.

Save WebP image Firefox

Save WebP as PNG or JPEG however, allowed me to get the image in different formats and resolutions. That’s cool. So, how do we use it? Once installed, the extension can be accessed from the browser’s page context menu, it’s labeled, Save webP as. Right-click on an image, select Save WebP as, and a number of options will appear over the image.

Save WebP example 2

These include options to choose the format you want to save the picture as, you can pick PNG, JPG (100% quality, or 92/85/80/75%), and GIF. The add-on saves the images in its own folder inside your default Firefox download directory. e.g. C:UsersAshwinDownloadsSave_webP.

Save WebP as PNG or JPEG Firefox extension

Click the i button in the extension’s overlay, to view information about the picture such as the image URL, dimensions, type, size, and alternate text. Hit the Setitng s button to go to the add-on’s options page.

Save WebP as PNG or JPEG settings

Save WebP’s default behavior is as follows. A single click of the context menu item shows the button bar (overlay). Shift + click will save the image in the PNG format, while Ctrl + click saves it as a 92% JPG. You may customize the click-behavior, by setting a different option. It only lets you choose between PNG, and the various JPG qualities, so GIF is not supported.

Save WebP as PNG or JPEG settings 2

The overlay’s buttons can be disabled if you find any of them irrelevant. You can set the file name rules for Save WebP as, it can include the download date, time, site name, and image server name while saving the image.

Note: Sometimes the Save WebP context menu item did nothing, but this issue occurred when I tried using it along with the behind! add-on. I think the reason why it didn’t work in this scenario, was because behind! uses its own local tab to load the images, and not the server’s page, so the WebP extension couldn’t access the image directly. There is a workaround for this too, right-click on the picture, select open image in new tab, and the add-on will offer a way to save the image.

Save webP as PNG or JPEG is an open source extension. There is an optional add-on from the same developer, called “Don’t Accept image/webp“, which tells your browser to not load images in the WebP format. The issue with this companion add-on is that it breaks websites at times, the server may not send any image at all, and since webP is blocked. Fortunately, the extension’s button acts a toggle (global, not per site), which you can use to circumvent the issue.

Thank you for being a Ghacks reader. The post Save WebP images as JPG or PNG with this Firefox extension appeared first on gHacks Technology News.

Source link

Leave a Reply

Pin System