Spyke

Dear : 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

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.

View original on mastodon.online
sh.itjust.works

Implicitly converting anything anywhere is always a bad idea, especially when it can't be done in a lossless way.

120

There could be an option to auto convert to PNG. I wouldn't want anything auto converted to a lossy format like JPEG.

15
canreply
sh.itjust.works

Did they intend to tag an official Firefox account or something? I'm not sure how this works on the Mastadon side of things.

20

Mastodon's UI for groups is terrible. This community is indistinguishable from an account named "@Firefox" with thousands of followers unless you open its page and notice it says "Group" and understand what that means.

16
nocturnereply
sopuli.xyz

Too bad so many platforms are not compatible with it. I am constantly having to convert the image type to post the image.

32

I am constantly having to convert the image type to post the image.

Try changing the file extension. Often the extension is checked but not if the file format matches the extension. All browsers read WebP just fine.

2

Websites that do not recognize webp normally are fine when you run Linux?

1
kevincoxreply
lemmy.ml

Not really. It is better than shitty JPEG encoders but not really much better than good ones. It's lossless was fairly good but still barely worth it. Really we should chuck it for JPEG XL but Google is strong-arming it for unknown reasons.

10
tetris11reply
lemmy.ml

jpegxl should be the successor, granted - but that doesn't make webp any less good

21

Google is strong-arming it for unknown reasons.

lol. Yeah it’s a mystery.

5

Exactly, great quality and small file sizes. Perfect to reduce web bloat, or loading times when using things like FoundryVTT

10

Sounds more like a problem with their intended usage pipeline, like an image viewer or word processing app problem.

5
lemmy.world

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

35
lemmy.world

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?

9

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.

24
lemmy.ml

WebP images are not bad. Not great, but not bad. The lossless mode is quite good. It is on the software you use to support WebP.

32

So nothing before 2020, got it. Smh

Windows supports WebP. Software that uses Windows APIs to read image files has no problem reading those even if it's from before 2020. I forgot which application it was but in one case changing the file extension was enough for me.

11
lemmy.world

webp is 13 years old. I’ve only heard of Apple not supporting it.

I see others mention some chat apps, weird but ok.

7
lemmy.world

Which part, I know Safari added support recently but I’m not sure about other components.

1
lemmy.world

Safari, photos’s, finder, preview etc, etc. Across iOS and OS X, since at least last year.

3
arinreply
lemmy.world

Shouldn't we strive for webp compatibility in more applications so it can be viewed readily and easily?

25
slrpnk.net

I mean Gwenview, GIMP and tons of other apps support it. I dont know an app that doesnt support it actually

4
Hagdosreply
lemmy.world

I had issues with Libreoffice and Inkscape yesterday. Had to open it in paint.net first, and save it as jpeg.

2
slrpnk.net

Hm, not sure if Inkscape is meant for that?

Edit: never mind, it has a purpose and should actually support webp

1
Hadriscusreply
lemm.ee

You should be able to import raster images in Inkscape for tracing or reference purposes

4
Hagdosreply
lemmy.world

I don't care if it was meant for it, it is the best tool I've found so far for what I want to do: put text over an image to create a custom gift certificate.

It works perfectly for what I want to do with it, except it doesn't understand .webp. It seemed like it is implemented, but didn't work. It does take .jpg.

1

It would be great if GIMP, Inkscape, Firefox, Krita, Okular, Loupe, etc. could just use the same libraries on the system.

Viewing app specific stuff belongs to the apps, but why the hell does every program need its own webp renderer?

1
veroxiireply
aussie.zone

Facebook Messenger on android. I hate messenger but that's where my Luddite family hangs out. Often have to convert the webp meme I downloaded from lemmy first.

7
macreply
infosec.pub

Just screenshot instead of download and convert.

2
veroxiireply
aussie.zone

We live in a society with rules. What you're suggesting is anarchy!

3
sh.itjust.works

Why? PNG is good enough today, so everything moving to jxl isn't particularly urgent for me. AVIF is probably a better option in terms of platform support vs jxl.

But yeah, when it's ubiquitous, it'll be cool I guess.

-3
Hadriscusreply
lemm.ee

PNG is good only because it's widely supported. It only has 8bit per channel, no support for arbitrary channels, has subpar reading and writing performance. For lossless purposes I suggest TIFF, for packing data OpenEXR is best and JPEG-XL is very promising but has limited support right now

Here is an article (centered on a film use case) https://www.provideocoalition.com/fight-of-the-file-formats-pngs-or-exrs/

5

Compatibility is really important, which is what this post is all about. In a discussion about automatic conversion, PNG should be on the table.

5
Valmondreply
lemmy.world

What are you guys even doing with your images?

I use png or jpg depending on what I want and that's about it.

2

Yea me too... given the state of support for modern formats

3
lemmy.world

fortunately, since you use Firefox, there are a handful of extensions available just for this problem already. Maybe not for the drag n drop, though...

10
kunehoreply
lemmy.world

funny thing is, for some reason, it just... never came to me to just drag images from the browser and save them like that 😅, but surely sounds a logical and convenient thing to do, so I can see your frustration

6

I think it's a Macintosh workflow that's spilled out. From what I've seen, folks either use it heavily or not at all

2
lemmy.ml

I prefer PNG because of losless-nes (is that right?). If it's jpeg, or webp originally, i don't mind getting the image in that format. But converting/recompression is bad.

7
mander.xyz

It should be spelt "losslessness". "lossless" is an adjective and when you add "-ness" to an adjective it becomes a noun.

I prefer PNG because it losslessly compresses raster images.

I prefer PNG because it uses a lossless algorithm.

I prefer PNG because I love losslessness.

5

After turning the word into a noun though, you'll need to know how to turn it back into an adjective. We use "-less" to turn the noun into an adjective.

I prefer PNG because it losslessnesslessly compresses raster images.

I prefer PNG because it uses a losslessnessless algorithm.

I prefer PNG because I love losslessnesslessness.

9
lemmy.world

If you hate webp because you can't easily view it, let me recommend ImageGlass as a replacement image viewer for Windows (maybe Linux too, I forget).

4
Heavybellreply
lemmy.world

Trouble opening images to view them is the only reason I can think of for such widespread hatred of an image format. I don't know OP's level of tech savviness so it seemed like a safe guess.

5

the problem I have is how several file browsers don't support generating thumbnails for them, and how a few social media platforms don't support animated webp.

3
Heavybellreply
lemmy.world

That's fair, tho the last part is true of animated PNG too. Hell, a lot of them will be all like "upload a short, optionally audioless MP4 and we'll call it a gif"… :P

2
lemmy.world

Report your suggestion on bugzilla.mozilla.org and don't tag a 3rd party Firefox community.

3

I just change the file extension to PNG and call it a day. Somehow it fixes all my compatibility issues.

2

@MisterMoo @firefox

I was looking for a fix that didn't involve yet another extension, but only found how to block webp entirely which would just result in broken image links. Sadly i also found that this is a security vulnerability, likely deliberate for data harvesting, and has been a problem for FOUR YEARS. It's only the incidence that is picking up now.

1

I want youtube downloads to stop being in webm. I set my gui app that downloads to prefer mp4 even if it's lower quality. I will do the same with my command line tools when I get around to it or get frustrated enough that they aren't supported by QuickLook on my Mac.

1
lemmy.world

Skill issue.

I'm a Linux user and didn't even notice, let alone care, when I downloaded images as webp because it works just fine with all my other software (Dolphin, Gwenview, GIMP, etc.). There is no problem with webp; who gives a shit?

-16
mastodon.online

@grue You don't need to identify yourself as a Linux user. The insulting remark at the top of your post and the tone of the rest of it makes it clear.

Ever been forced by your workplace to use a piece of software you'd prefer not to? For example, ever tried to share a webp image on MS Teams? You can't; you have to convert it first. Lots of household-name software rejects the format.

Hopefully the Firefox team needs to care about more than the needs of condescending Linux users.

4

I also find this insulting even as a linux user myself.

OP you can try GIMP in the meantime as Firefox exports WEBP. There is also a portable version by PortableApps.

Have a nice day, OP.

13

For example, ever tried to share a webp image on MS Teams? You can’t; you have to convert it first.

That's funny because the underlying Chromium engine reads WebP files just fine. Write a bug report to Microsoft. The error message is clearly a bug.

3
gruereply
lemmy.world

It's not Firefox's problem that MS Teams (or other "household name" software) sucks.

Edit: ITT: people getting mad at me for pointing out that they're misattributing the blame.

1

Agreed. I dislike webp intensely but it’s not firefox’s problem to solve. Be mad at google, not firefox.

8
mastodon.online

@grue Another very productive reply. Great. Enjoy your perfectly cross-compatible software environment that somehow exists despite a lack of compatibility not being a "problem" for any software maker to care about.

2
gruereply
lemmy.world

You mean I should enjoy my perfectly cross-compatible software environment that exists because the the people making it recognize their responsibility to support the latest standard, rather than acting like proprietary software makers by whining and demanding that everybody else cater to their old, broken shit?

Thanks, I will!

But by all means, continue wallowing in your self-inflicted misery instead if you want. Just don't get mad at me for not "productively" explaining how to solve your problem, because I have. You just don't want to hear it.

-5
lemmy.ml

Why are you @ing people? Lemmy uses threaded comment trees, we can see who you are responding to!

0

Why are you @ing people? Lemmy uses threaded comment trees, we can see who you are responding to!

OP is a Mastodon user who confused an unofficial 3rd party Lemmy community with Mozilla's bug tracker.

5
feddit.de

You using shitty software is not something somebody else would or should feel inclined to solve. Suggesting that everybody should suffer from not receiving the content they request from the webserver, but instead an arbitrary lossy compressed and therefore different picture for your individual comfort is just a self-centred, ignorant and narcissistic request. So go away and use edge, and then complain to Microsoft (whom you pay in contrast to mozilla+community!), that their shitware doesn't work.

-6

I would imagine that the company that they work for is the reason they use Teams

5

Nono, you are demanding in a not nice tone from a open source community to implement some bloat workaround to fix some you-specific-issue with commercial software. You know how free and open source software works? Either you contribute something positive, or you color yourself glad you get to use something so great completely for free and stay silent. Bark at that commercial vendor that doesn't use the money from licenses + selling your soul to build something half decent! This upcoming demand-culture around things that others kindly share with wanting nothing in return pisses me off. Especially when it's not even something about the project, but carrying over unrelated cruft, instead of directing the demand to the entitiy it would be justified against.

Just build a browser extension that does the conversion. Or a script that watches a folder where you drag it into as an intermediary, and then it converts it automatically. And then share it for free, because you are a kind person! You might find a handful of people that like it. And then watch some asshat writing you a demand that "stop converting to jpeg, forever stop that! I need bitmaps for my gameboy! Just give me a SETTING where I can chooose and a nice dialog where I can pick the freaking color palette!"

3