Display .Webp files as original format



  • Im trying to download a few gif files but some websites only give you the option to "save image as" a .Webp file format.

    I've already got a bunch downloaded and im in a slow and painful process of converting them using an online tool which limits how many you can convert at a time + daily limits without paid membership

    is there anything i can do to the browser to make it block all webp type files? for example the Internet Explorer browser doesn't support the webp file at all, so its forced to use the original file format, id rather watch paint dry than use IE as a solution to this.

    Or, if anyone knows a way to convert Webp files to GIF files in bulk with software or a Command line? ("dwebp" decoder doesnt support GIF output format)

    Opening the image in a new tab and changing the gifv / webp URL extension to Gif / PNG does NOT work

    Thanks

    --
    ModEdit: Moved from V Windows



  • This has nothing to do with the browser, so it's a question in the wrong section, it's more a request for conversion software.
    Vivaldi Browser, as a Chromium based browser, on sites that support those formats, gets served with webp/webm format because it's viewable in it.
    Webp is a true color compression format, while gif are 256 color (8bit) format.
    Some site serve "gif" animations but it's only a false information they are giving, as the actual videos served are already in mp4 or webm format, with a wrong extension, because "gif" term is associated with small animations since the end of 80s.
    Converting back a webm to gif animated image, especially if it was actually a real gif image before being converted to webm, will simply cause it to look worse due to loss of detail (webp/webm are extremely lossy, while promoting the image/video to 24bit, it adds a smoothing to the original image) and then less of color depth, because it will get only a 8bit palette, hence 256 colors.
    Searching for webp2gif this http://www.rw-designer.com/webp2gif pops up, does it work for you?


  • Ambassador

    Static WebP, Animated WebP, and Transparent WebP are all supported by Vivaldi. No doubt, as IanCooG said, the files are in WebM format.

    Transparent WebP Image

    Animated WebP Image



  • As far as software, Irfanview supports webp and works in batch mode.


  • Ambassador

    @sgunhouse It does — for viewing — but it does not export animated WebP images as animated gif, nor even as a single frame still image.



  • @iAN-CooG said in Display .Webp files as original format:

    This has nothing to do with the browser, so it's a question in the wrong section, it's more a request for conversion software.
    Vivaldi Browser, as a Chromium based browser, on sites that support those formats, gets served with webp/webm format because it's viewable in it.
    Webp is a true color compression format, while gif are 256 color (8bit) format.
    Some site serve "gif" animations but it's only a false information they are giving, as the actual videos served are already in mp4 or webm format, with a wrong extension, because "gif" term is associated with small animations since the end of 80s.
    Converting back a webm to gif animated image, especially if it was actually a real gif image before being converted to webm, will simply cause it to look worse due to loss of detail (webp/webm are extremely lossy, while promoting the image/video to 24bit, it adds a smoothing to the original image) and then less of color depth, because it will get only a 8bit palette, hence 256 colors.
    Searching for webp2gif this http://www.rw-designer.com/webp2gif pops up, does it work for you?

    noob learning in progress: so in the case of internet explorer showing it as a gif file rather than a webp, it would mean that originaly it would be as a webp file and something was done as an extra step to process or display it as a gif format for a browser that doesnt support webp to begin with? that website itself must have extra plugins to deal with lacking browsers...

    main question: but in terms of what we ourselves can do in Vivaldi, to switch on or off support for specific formats in settings like

    vivaldi://flags
    vivaldi://vivaldi-urls

    OR (coming from firefox)
    Going to about:config, removing "image/webp," from image.http.accept and network.http.accept.default. to stop servers serving WEBPs to your browser.

    software: thank you for the suggestion, but the webp2gif command line literally reduces quality of the gifs by 50% - i suppose ill just pay for an online tool with least lossy conversions.


  • Ambassador

    I use often Ezgif, it's a online creator, editor and converter of multiple animation formats (webp<>gif<>mp4, and others)



  • @Catweazle said in Display .Webp files as original format:

    I use often Ezgif, it's a online creator, editor and converter of multiple animation formats (webp<>gif<>mp4, and others)

    yeah ezgif is brilliant for editing and converting one file at a time, bulk conversion might be asking for a bit too much as far as online tools go


  • Moderator

    Hi,

    You could check with a Download Manager, maybe downloads the real file, then any possible conversion should have better quality.

    --
    "Off topic Tip"
    Follow the Signature's BackUp | Reset link.
    Take the opportunity to start a Backup plan, even create a Template Profile.


    Windows 7 (x64)
    Vivaldi Back up | Reset



  • @expuix said in Display .Webp files as original format:

    noob learning in progress: so in the case of internet explorer showing it as a gif file rather than a webp, it would mean that originaly it would be as a webp file and something was done as an extra step to process or display it as a gif format for a browser that doesnt support webp to begin with? that website itself must have extra plugins to deal with lacking browsers...

    no, it simply means the site code detects which browser you're using and knowing which support webp format, it serves the file in webp format, if it isn't, serves a gif. Both files are on the site servers. Most probably you can even check the page source to see if there's an embedded javascript to handle the file being served. If I remember correctly, 9gag.com is one of those sites.
    You can even try with a user agent spoofing extension to fake Edge/IE user agent on the site and see if it serves you the gif instead of webp.


  • Ambassador

    @expuix , Lunapic also admits webp files and bulk upload, also has an extension in the Chrome Store (right click edit).
    It isn't a conversor specially, but one of the best online editors, capable to edit gifs like ezgif and can save the files in multiple formats,



  • I found this set of tools:
    http://www.rw-designer.com/animation-tools

    > for /f %i in ('dir /b *.webp') do @webp2gif %i
     Picture converted: animated-webp-supported.webp
     Picture converted: giphy.webp
    

    (Hey, Windows for loops are clunky don't blame me lol)

    alt text

    Also:
    https://convertio.co/webp-gif/
    https://blog.media.io/image-converter/webp-to-gif.html



  • @iAN-CooG said in Display .Webp files as original format:

    @expuix said in Display .Webp files as original format:

    noob learning in progress: so in the case of internet explorer showing it as a gif file rather than a webp, it would mean that originaly it would be as a webp file and something was done as an extra step to process or display it as a gif format for a browser that doesnt support webp to begin with? that website itself must have extra plugins to deal with lacking browsers...

    no, it simply means the site code detects which browser you're using and knowing which support webp format, it serves the file in webp format, if it isn't, serves a gif. Both files are on the site servers. Most probably you can even check the page source to see if there's an embedded javascript to handle the file being served. If I remember correctly, 9gag.com is one of those sites.
    You can even try with a user agent spoofing extension to fake Edge/IE user agent on the site and see if it serves you the gif instead of webp.

    the user agent spoofing looked promising, but still couldnt do it, good thinking though thats as close as ill probably get trying to disable webp support. thanks!

    @Catweazle said in Display .Webp files as original format:

    @expuix , Lunapic also admits webp files and bulk upload, also has an extension in the Chrome Store (right click edit).
    It isn't a conversor specially, but one of the best online editors, capable to edit gifs like ezgif and can save the files in multiple formats,

    lunapic couldnt open any of saved webp gifs lol, ill call it quits. lunapic also seems more like a good tool for images, giving static images animations i havent seen before. but gif editing its about the same as ezgif other than it provides transparency features i wouldve used gimp for to do the long way round. thanks for that, saved a lot of time 🙂



  • @Pathduck

    blog. media. io/ image-converter/webp-to-gif

    im not sure about the command line by rw - designer but the software installation suggestion by one of the articles you linked might actually be it, checking it right now. thanks!


  • Ambassador

    @expuix , ????, I don't know, but I have already uploaded and edited several webp animations with Lunapic, converted mp4 into gif (up to 100 frames) and edited countless gifs (crop, resize, text (more than 1000 fonts), change colors,etc).
    It is the editor (and extensión) I most use.


Log in to reply
 

Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.