Deny WEBP format checkbox!
-
-
Ppafflick moved this topic from Vivaldi for Renault on
-
More sites start to give .webp when trying to save image instead of original picture format, usually .jpg.
Would be nice if there was an option to completely forbid Vivaldi from using it so the site would see the browser as unable to use that format making it give the original file instead of .webp
There is an extension for this for firefox but I wasn't able to find any for chrome browsers.and to be sure, i'm not saying about conversion but about getting original file instead of one converted to .webp
-
@Treap Please vote for the existing request: Deny WebP Checkbox.
Welcome to the Community. Here are a few links for your bookmarks that you may find useful:
-
Wasn't .webp the original format in those cases? I don't recall browsers like Vivaldi converting other formats into .webp
Sorry if I'm misunderstanding your message -
@Treap, if you don't like webp , instead of downloading directly the image, save a screenshot of it. This save it in jpg or png format.
If not, there are several extensions in the Chrome Store -
@Catweazle No help. If the image displayed is actually a WebP, the artefacts are already added, so taking a screenshot will just copy the artefacts. Below are zoomed in details from JPG and WebP copies of the same image.
JPG
WepB
-
@Treap said in Forbid webp format:
More sites start to give .webp when trying to save image instead of original picture format, usually .jpg.
What makes you think a website wouldn't send you a WebP images anyway?
Also, I suspect that you need to be clearer about how you are trying to save the image. RIght-click->save image, or a download button on the site?
Right-Click will save the image sent by the server when requested (which might be a webp, the format is listed in the accept header, but the website does not have to follow the suggestion and could send one even if the format isn't listed). IIRC, though, there are tricks sites can use to disable the right-click save functionality.
OTOH, the download button will send a request to the site for the downloadable version, and it might send a WebP image anyway.
Sending a WebP image (or a PNG, or a JPEG) is a website decision, and even if not listed in the Accept header they will assume (provided they actually process the header) that any current browser version will support it (and the Accept header includes a "/" entry, and WebP would be covered by that).
-
@Pesala.
uploading (ShareX extension) your WEBP image exampleResult
https://file.coffee/u/amO8ipePTEyzYD-9juWlX.png[Making a screenshot with ShareX same result, always png](link url)
https://file.coffee/u/ttssu_iR2H265cMHrOZtd.pngEdit:Your uploaded Webp example is already in png format
I tested again with an webp image
https://www.gstatic.com/webp/gallery/1.sm.webpScreenshot with ShareX
https://file.coffee/u/as_zE90XXFjl7UVvP7iEu.png -
@Catweazle said in Deny WEBP format checkbox!:
Your uploaded Webp example is already in png format
Of course. The aim is to compare what JPG and WebP images look like on screen. PNG screenshots capture the actual pixels without any further distortion, which was already added when the original images were saved as JPG and WebP. The WebP version is noticeably smoother, but at 100% zoom few people would spot the difference.
See Image Formats.
-
@Pesala, webp images are smaller than jpg. Anyway also png is, apart admits transparecies. Anyway, as said, a screenshot of an webp convert it to jpg or png.
-
@Catweazle PNG images are sometimes smaller than JPG, but only if they have few colours, e.g. screenshots of dialogs.
My Images are:
- PNG = 136 Kbytes
- JPG = 13.9 Kbytes
- WebP = 13.6 Kbytes (1/10th the size of the PNG version).
-
@Pesala, anyway making a screenshot instead of direct download solve the webp aversion.
-
@yngve said in Deny WEBP format checkbox!:
...
Right-Click will save the image sent by the server when requested (which might be a webp, the format is listed in the accept header, but the website does not have to follow the suggestion and could send one even if the format isn't listed). IIRC, though, there are tricks sites can use to disable the right-click save functionality.
...For me it can't
, less making a screenshot
-
@Catweazle How? If the image is displayed on the page as a WebP image, it already has artefacts. Saving it as a PNG does not increase the quality, it just increases the file size.
-
So I used wget to download the image (from OP's example link) in the original format, and I was actually wondering if maybe they would be identical, except for the changed extension name, but they are in fact different.
I used Image Magick to identify the actual format:
jpeg downloaded with wget
webp downloaded with Vivaldi (save as)
I honestly don't mind webp, however I don't understand why would the server convert the image into webp before giving it to you, that makes no sense to me. Are they trying to save my hard drive space? What is the reasoning behind it?
Also, is there even any browser that allows you to force download the original format? It should be doable, but not sure if it's practical for Vivaldi to implement such feature.
-
@Xorsone said in Deny WEBP format checkbox!:
I don't recall browsers like Vivaldi converting other formats into .webp
Vivaldi does not concert images.
-
@LongLife A filename ending is not an indication for the type of image format!
if you check in Developer Tools → network which HTTP header Accept is sent you will see (check at https://echo.vivaldi.com/) there image/webp, means browser tells server: "i can display WebP images".
text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
The webserver sees that Vivaldi can display WebP and JPEG and so the server sends WebP data but does not change the filename. Broken Server and website software; not a fault of browser.
Website should redirect and give new filename instead sending some data for some different filename.
Such Wordpress sites are mostly little dumb. -
@LongLife said in Deny WEBP format checkbox!:
So I used wget to download the image
Yes, but wget does not send a HTTP Accept header for images
-
@DoctorG Yes, I understand. That is exactly why I used Image Magick's identify to identify the true format. I didn't know why or when that could occur, I'm not knowledgeable, but it did happen to me in the past that I get an image with the wrong format extension, so I just wanted to check out of curiosity.
Thanks for the explanation.
Yes, but wget does not send a HTTP Accept header for images
Ah, I see. So my statement still stands...It is possible for Vivaldi to implement a way to download images that way (without sending HTTP accept header), but I assume it's not really worth it.
So the solution to this problem would be either using 3rd party software or an extension.
-
@LongLife said in Deny WEBP format checkbox!:
.It is possible for Vivaldi to implement a way to download images that way
But i guess such content-type blocking will not be implemented by the dev team as it breaks web standards.
All other browsers do downloads same way like Vivaldi browser way.