WEBP instead of GIF?
-
A Former User last edited by
I save a lot of images, especially .gifs. However, I've noticed a lot of sites nowadays won't let me save things I know are .gifs as that file, but rather make me save them as .webps (at least on desktop Opera). It was annoying, but over the past few days it started happening on tumblr that random .gifs will save this way. Is there a way I can disable the .webp format?
-
burnout426 Volunteer last edited by
There are a few extensions at https://chrome.google.com/webstore/search/save image as that allow you to save an image as a specific type. But, there's no "save as gif" Just webp, png and jpeg. I don't think they support apng and not even sure if the webp saving the extensions do supports animation.
In reading about the situation for Chrome, sites that force webp on your don't really look at the 'Accept' header your browser sends and instead use your user agent. In this case for tumblr, you might be able to mask as a browser that doesn't support webp with a user-agent switcher extension to avoid having webp forced on you. Firefox, Edge and Chromium-Edge, and Vivaldi all support it too though (animated ones too).
Besides that, you might have to use a converter to convert webp files to gif files. If they're animated though, you might want to use mp4 or webm (basically webp) instead like some sites do anyway as they're more efficient.
One of those extensions mentioned above could be used to force webp on sites that don't force it. Then, you can just use webp from now on. Could work great with the good browser support there is for it, but it depends on what you're doing with the gifs.
-
burnout426 Volunteer last edited by
I like https://addons.opera.com/en/extensions/details/user-agent-switcher-5/ for example. There are others though.
-
A Former User last edited by
Have the same problem on Mac. Are you sure it's the site's problem solely, @leocg ? The URL always says .gif or .jpg. Only some of those files are saved as .webp when dragging from Opera or Chrome. Opening the same file/URL in Safari or Firefox saves the correct file format from the URL when dragging.
-
A Former User last edited by
@leocg I read somewhere that browsers like Safari, that DON'T support Google's .webp, force the site to serve gif or jpeg. But what I don't understand is that Chrome and Opera still save webp or webm when the URL actually says gif or jpg. And how to make Opera save the file format that's written in the URL.
-
jpstotz last edited by
@ferrier What the URL says is irrelevant (and may be wrong). For files in web pages the "content-type" in the HTTP response is essential. And of course the actual file data is also important. GIF and WEBP are two totally different file formats and therefore easy detectable for Opera.
As web browser usually don't convert any file formats I assume that if Opera wants to save an image as *.webp it actually is a webp image. You can verify that by downloading the file using a command-line tool like wget and the open the file in an image viewer that displays the actual image type.
-
leocg Moderator Volunteer last edited by
@ferrier See https://developers.google.com/speed/webp/faq#how_can_i_detect_browser_support_for_webp
I guess it may help.
-
burnout426 Volunteer last edited by
I read somewhere that sites that use Cloudflair often force webp when supported. Don't remember the URL though.