this post was submitted on 26 Apr 2024
103 points (66.7% liked)

Firefox

17821 readers
85 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS
 

Dear @firefox : Please stop saving images as webp when I drag them out of the browser. Forever stop that. Even if they are webp originally, just give me a setting to auto-convert them to JPEG. When I get a webp file the first thing I have to do is convert it manually if I'm going to do *anything* with it.

you are viewing a single comment's thread
view the rest of the comments
[–] breakingcups@lemmy.world 35 points 6 months ago (1 children)

It's not really Firefox's task or problem to convert files from one format to the other, why would it be?

[–] Couldbealeotard@lemmy.world 9 points 6 months ago (2 children)

Why is it that the url ends in .JPG but when I right click and save image I can only save it as a .webp?

[–] IphtashuFitz@lemmy.world 24 points 6 months ago* (last edited 6 months ago)

Some CDNs like Akamai and Cloudflare have options to optimize images. We use the Akamai one where I work. It means our creative teams, customers, etc. don’t need to worry too much about whether an image is properly optimized when they upload it. Akamai will, behind the scenes optimize the quality, color palette, and image type (jpg, web, png, etc) and create a number of different versions of the images. Then when a client requests the image Akamai looks at the client device (mobile vs desktop, screen resolution, browser version, etc) and serves the copy of the image that’s best optimized for that device.

So even if the URL ends with .jpg you might be sent a .webp. If you use the browsers developer tool to inspect the response headers you’ll likely see the Content-Type header says it’s .webp as well.

[–] dev_null@lemmy.ml 5 points 6 months ago

Because the URL is lying, and the image is not a jpg.