mke , (edited )

Semi-related, I'm still salty about Google's rejection of JPEG XL. I can't help but remember this when webp discussion crops up, since Google were the ones who created it.

Why care about JPEG XL?
Rejection?

Google started working on JPEG XL support for chrome, then dropped it despite significant industry support. Apple is also in, by the way.
https://lemmy.world/pictrs/image/1dfaf6ad-cb69-43d0-bb13-92e3a88ed8c7.jpeg

Why do that?

Don't know, many possible reasons. In fairness, even Mozilla hasn't decided to fully invest in it, and libjxl hasn't defined a stable public API yet.

That said, I don't believe that's the kind of issue that'd stop Google if they wanted to push something forward. They'd find a way, funding, helping development, something.

And unfortunately for all of us, Google Chrome sort of... Immensely influences what the web is and will be. They can't excuse themselves saying "they'll work on it, if it gains traction" when them supporting anything is fundamental to it gaining traction in the first place.

You'd have to believe Google is acting in good faith for the sake of the internet and its users. I don't think I need to explain why that's far from guaranteed and in many issues incredibly unlikely.

Useless mini-rant

I really need a single page with all this information I can link every time image standards in the web are mentioned. There's stuff I'm leaving out because writing these comments takes some work, especially on a phone, and I'm kinda tired of doing it.

I still hold hope for JPEG XL and that Google will cave at some point.

victorz ,

Yes, JPEG XL really is the one that got away. 😭

Hey Google, 🖕🖕 for killing it, man. Very evil and self-centered choice.

victorz ,

Also I just noticed what the arrow in the image pointed to. Holy crap that would be awful if true.

mke , (edited )

Yeah, sorry, that part I didn't fact check myself so I didn't even want to mention it. Like I said, many possible reasons.

victorz ,

Ah no worries. I found it a little bit difficult to believe that the decision wouldn't be questioned by the company if it didn't align with its overall goals. That would be weird.

Aux ,

Not sure what you mean by "Google killed it". JPEG XL proposal was only submitted in 2018 and it got standardized in 2022. It has a lot of features which are not available in browsers yet, like HDR support (support for HDR photos in Chrome on Android was only added 8 months ago, Firefox doesn't support HDR in any shape at all), no browsers support 32 bits per component, there's no support for thermal data or volume data, etc. You can't just plug libjxl and call it a day, you have to rework your rendering pipeline to add all these features.

I'd argue that Google is actually working pretty hard on their pipeline to add missing features. Can't say the same about Mozilla, who can't even implement HDR for videos for over a decade now.

al4s ,

They removed JPEG XL support from chrome. It was behind a feature flag previously.

(At least that's what I gathered from reading the screenshot.)

Aux ,

Yeah, why keep a feature which doesn't work? Once they add missing stuff to the renderer, they'll add XL support back. But I guess that will take a few years.

kilgore_trout ,
@kilgore_trout@feddit.it avatar

Can you provide a source on how Google is working hard on JPEG-XL missing features?

Aux ,

As I said - photo HDR. Do you even read?

dezmd ,
@dezmd@lemmy.world avatar

Just imagine if there was an actual open consortium not spearheaded by monied commercial interests that could temper recent Google decisions. They've lost a lot, if not all, of their goodwill with old guard, open web standards nerds. And the old guard that still actively support their standards influencing schemes now make too much money to stop.

Yearly1845 ,

Is this some windows problem I'm too FOSS to understand?

A_Chilean_Cyborg ,
@A_Chilean_Cyborg@feddit.cl avatar

Not really? Just lucky.

Go back and eddit this comment when you download a webp and nothing can use it.

derpgon ,

All the memes I send to my friends on messenger basically come from Lemmy. I always have to download the image and use the phone image editor to crop it by one pixel. It then let's me save it, and it saves as jpg/png by default.

A_Chilean_Cyborg ,
@A_Chilean_Cyborg@feddit.cl avatar

Yeah but memes don't need high quality?

derpgon ,

The point is Messenger doesn't allow sending WEBPs

force ,

I have plenty of WEBP and every image editing/viewing application I have installed can use it fine. Including, but not limited to:

pdn, GIMP, Krita, Aseprite, InkScape, OpenToonz, IrfanView

I think Apple users have issues with Webm & Webp? But the issue here is using Apple products in the first place. Losing 90% of basic functionality is what you expect when using one of those.

A_Chilean_Cyborg ,
@A_Chilean_Cyborg@feddit.cl avatar

Maybe then I'm the unlucky one that want to use things that don't support it.

And I'm not on Apple lol (linux)

kilgore_trout ,
@kilgore_trout@feddit.it avatar

Name one program that doesn't support WebP.

Burn_The_Right ,

Adobe Premiere, After Effects, Davinci Resolve

nickwitha_k ,

The 1996 free breakfast cereal promotional game Chex Quest (which is actually a total conversion of Ultimate Doom with much of the original data intact).

thirteene ,

Skill issue, the only actual drawback is that some legacy systems whitelisted image extensions and haven't been updated. Even then just take a screenshot and upload that.

AnUnusualRelic ,
@AnUnusualRelic@lemmy.world avatar

Windows can only display .bmp images apparently. It's an old problem.

Gakomi ,

Don't think so cause if I change the extension to PNG or JPG it works just fine

Gakomi ,

Just change the extension to PNG

Blackmist ,

Do people really think this changes the file type?

Gakomi ,

No I don't think it does but it works. Specifically I download webp pictures on pc and when I try to send them on WhatsApp it does not recognise them so I change the extension to JPG or PNG and it works it sends them and they can be viewed.

tweeks ,

Sounds like the file type verification on WhatsApp is not on mime-type but only on extension. Some receivers might have trouble opening these though.

Gakomi ,

Well so far I did not encounter any issues so as long as it works I'll still do it like this

barsoap ,

They might use standard imagemagick or such on the backend meaning they can ingest pretty much any image format ever invented, and have a limited set of extensions allowed on the frontend side so people don't upload .txts.

FuzzChef ,

In my experience, WhatsApp does not send an image unchanged. So it doesn't matter if the recipient can handle it, as long as WhatsApp's conversion can

samus12345 ,
@samus12345@lemmy.world avatar
RizzRustbolt ,

Recursivity is always funny.

DerisionConsulting ,

It doesn't have to be!

"?" in a URL often means "Delete from the '?' until the end to avoid garbage"

Lemmy.ca defaults to: https://lemmy.ca/pictrs/image/d751342c-5d83-4a5e-9b6b-9817e03db780.jpeg

But if you're on .world, you can do a little snip and things still work:
https://lemmy.world/pictrs/image/5441af5c-19cd-4ffb-aad8-94da9ea361a9.jpeg

AeonFelis ,

The technology that managed to accomplish what NFTs couldn't.

MentalEdge ,
@MentalEdge@sopuli.xyz avatar

Old meme.

Pretty much everything supports it now, and in case you haven't noticed pretty much all the images on Lemmy are webp because it lets instances save tons and tons on bandwidth and storage.

The next "better but not yet supported" image format is .avif.

NikkiDimes ,

Heh, AOMedia Video Image Format

MentalEdge , (edited )
@MentalEdge@sopuli.xyz avatar

Yeah it uses the AV1 video codec for compression. Which go figure, works really well for images, too! And the format can do animated images, too.

boonhet ,

Cool, a replacement for GIFs too.

Next you'll tell me you can add sound to it and make AVIFs with sound, won't you?

spoiler

Someone once said something to the tune of "Imagine if GIFs could have sound", to which people pointed out that those are just called videos.

MentalEdge ,
@MentalEdge@sopuli.xyz avatar

As is webp. Animated webps have been a thing this whole time.

https://mathiasbynens.be/demo/animated-webp-supported.webp

UnderpantsWeevil ,
@UnderpantsWeevil@lemmy.world avatar

Animated webps have been a thing this whole time.

Reading this in Sam Reich's voice.

dezmd , (edited )
@dezmd@lemmy.world avatar

Now we just need a Brennan Lee Mulligan flavored fully charged rant about the billionaire class of corporatists forcing webp with its patent encumbrance on us all.

Edit: I kinda ended up channeling him after I started writing a short comment for OP that just kept going. https://lemmy.world/comment/10914387

BehindTheBarrier ,

I actually decided to use avif on my project. But both this and webp is as fast as I know, not supported in any default image viewer on windows. Which is rater annoying, but I moved on to better programs for tgat anyways.

Avif is second to jxl though, some of the downsides of being a video format is that you loose progressive loading (only top to bottom iirc), degrades on re-encodes, and some other things I can't think of. Avif gets a win because if you have a av1 decoder you already have a avif decoder too! But since it is a video frame essential there are some downsides since some image specific features can't or won't be added.

uis ,
@uis@lemm.ee avatar

Also if you have video in AV1, you can rip out Group Of Frames from it and package in avif without any loss.

Dicska ,

Not the end of the world, but out of the few apps that don't fit in the 'pretty much everything' group, messenger is one of them and I can't share a good bunch of memes on Lemmy with my friends because of that. I usually end up screenshotting my own screen because of that.

MentalEdge ,
@MentalEdge@sopuli.xyz avatar

The format was introduced 13 years ago. Meta had the time, and we know they have the resources.

This is 200% on messenger being shit piece of crap software.

ultratiem ,
@ultratiem@lemmy.ca avatar

Every time I have to fire up my Fb account, I'm stunned at how shit React is. It's appalling how bad that framework has become. Maybe if they cared about implementing solid code and less about raping your life of metadata in order to sell you the worst products on the planet thru their "partners" things would be better.

michael_palmer ,

Avis Libre gallery can convert images from/to WEBP.

Dicska ,

Thanks! I wish the developers at Meta could afford something similar.

Custard ,

Every time that happens, I just edit it in my gallery and it converts to something that messenger can use

mrvictory1 ,

.avif is supported by all major browsers but application support sucks.

MentalEdge ,
@MentalEdge@sopuli.xyz avatar

Indeed. Ready for websites, not everyday media files.

ultratiem ,
@ultratiem@lemmy.ca avatar

What doesn’t support avif? Even Apple devices support it and they are usually the last to adopt anything. I’ve crushed all my website using it and it turns a 1MB image to 80KB without quality loss, absolutely amazing compression!

MentalEdge , (edited )
@MentalEdge@sopuli.xyz avatar

In websites it works great, there isn't a browser around that can't deal with it. Same how with when webp was new you'd run into it all over the web because there they were just better and worked fine.

It's everything else that isn't ready yet. My older android device can't deal with them in apps, no AV1 decoder maybe? Dunno.

ultratiem ,
@ultratiem@lemmy.ca avatar

Not many processors have AV1 hardware decoders yet (Apple thru them in on their M3's last year and latest iPhone 15 Pros) so I can't see it being that. There's also software decoding that works fine. My wallpaper on macOS has been avif since last year (Sonoma) and works without issue. I don't think it works in Windows 10 tho. No issues with the latest Ubuntu and I'm not familiar at all with Android OS.

In any case, I think it's the best thing to come out in a long time. My website with raw PNGs was about 120MB. I crushed those PNGs with noticeable quality loss down to 50MB. I then crushed the original 120MB down to 60MB with minimal to no visual quality loss using webp. But I got it down to 25MB without loss using avif at 85% compression. Just insane performance, couldn't be more impressed!

Furbag ,

I'll change my mind about .webp when Microsoft Teams can recognize it as an image and display it correctly.

MentalEdge ,
@MentalEdge@sopuli.xyz avatar

I'll say the same thing about teams as I did messenger.

The format was introduced 13 years ago. MS had the time, and we know they have the resources.

This is 200% on teams being shit piece of crap software.

caseyweederman ,

Okay can someone please explain why Facebook Messenger on my phone keeps saying it can't support gifs? Yes yes I'm an old man, but on the other hand what the fuck, fucking gifs? Are they devolving faster than Google?
(Also like, the gif feature built into Facebook Messenger itself. The longer I think about this problem, the more I think the app is just throwing the wrong error)

MentalEdge ,
@MentalEdge@sopuli.xyz avatar

Messenger is just crap.

caseyweederman ,

No argument there.

uis ,
@uis@lemm.ee avatar

Not avif, but jxl

brucethemoose ,

Webp works fine for me now.

The problem is AVIF. I mean I love AVIF (almost as much as JPEG-XL), but it doesn't work with anything except browser web pages, even after all this time.

Dozzi92 ,
@Dozzi92@lemmy.world avatar

For me webp is always some gif I'm trying to text people, and now I have to go convert it.

Emerald ,

My only concern with jpeg xl is... how do you know if the encoded file is losslessly compressed or not?

with jpg and png, one is lossless, one is not. But if all the files have a jxl extension, you can't know unless the encoder adds metadata for it, right?

Persi ,

I felt the same way about webp when it came out.

In practice it doesn't really matter:

  • if you're encoding the file you know how you're doing it.
  • if you're receiving the file, you get the pixels you get no matter how it was encoded.
  • if you're sending the image through some third party service, they're going to reencode and mangle it anyway so there's no point in worrying.

Also, it turned out that even if it's quite good, lossless webp is rarely seen in the wild because svg is more convenient.

brucethemoose ,

I mean the application could tell by looking at how its encoded, right?

Though I acknowledge how problematic "trusting" the app to do that is.

TheObviousSolution ,

Snipping tool is for snipping, screenshots are for cropping.

dezmd ,
@dezmd@lemmy.world avatar

Is it still a meme when you feel it in your soul?

I don't know why, maybe because it's Sunday morning and I'm just drinking my coffee and browsing around while the rest of the house sleeps in, but this triggered a rabbit hole for me. I already have a lil plugin just for quickly saving direct to PNG or JPG when I right click a WebP in my browsers, but I SHOULDN'T GODDAMN HAVE TO.

WEBP as a wrapper (as coupled along with AVIF/AV1/VP8/etc) seems all about reassertion of corporate control of web file formats by pivoting codecs back toward patent encumbrance as a control factor, just without universal royalty hooks attached to anyone that touches even free and open software utilizing it. We were actually FREE of that bullshit for a short time. PNG has no patent encumbrance. GIF, MP3, MPEG-1, MPEG-2, MPEG-4 Part 2 all have expired patents and can be used freely.

[Don't get me wrong, MPEG as an org was and is pure corruption and greed, and MPEG-4 Part 2 adoption was fully diminished outside of 'free' circles based on their stated intention to apply a 'content fee' to the royalty requirements. It's obvious why VP8 -> AV1 had to happen one way or another to break their royalty cabal insanity, but it still doesn't taste good at all. https://en.wikipedia.org/wiki/MPEG-4_Part_2 ]

https://lemmy.world/pictrs/image/b243b5e2-a66a-44bf-b022-6874ef0ebb1d.png

The consortium of companies behind WebP and AV1 are all taking part in the enshittification of the entire technology sector, from web sites and web apps, operating systems, and application ecosystems. Why would we ever trust them to not rug pull the 'irrevocable but revocable' patent license scheme? They only put it together in the first place to end run having to pay someone who was 'not them' any royalties for image/video/audio encoding.


References:

WEBP is patent encumbered.

https://en.wikipedia.org/wiki/WebP

https://github.com/ImageMagick/webp/blob/main/PATENTS

Google hereby grants to you a perpetual, worldwide, non-exclusive, no-charge,
royalty-free,** irrevocable (except as stated in this section) patent license** to
make, have made, use, offer to sell, sell, import, transfer, and otherwise
run, modify and propagate the contents of these implementations of WebM, where
such license applies only to those patent claims, both currently owned by
Google and acquired in the future, licensable by Google that are necessarily
infringed by these implementations of WebM. This grant does not include claims
that would be infringed only as a consequence of further modification of these
implementations.

GIF is not patent encumbered since 2004.

https://en.wikipedia.org/wiki/GIF

In 2004, all patents relating to the proprietary compression used for GIF expired.

PNG was never patent encumbered.

https://en.wikipedia.org/wiki/PNG

PNG was developed as an improved, non-patented replacement for Graphics Interchange Format (GIF)—unofficially, the initials PNG stood for the recursive acronym "PNG's not GIF".

AV1, VP8, VP9, and other modernized "open source" or "free" Video Codecs all appear to be patent encumbered.

https://news.ycombinator.com/item?id=23747923

https://en.wikipedia.org/wiki/AV1

https://en.wikipedia.org/wiki/AVIF

https://en.wikipedia.org/wiki/VP8

uis ,
@uis@lemm.ee avatar

AV1, VP8, VP9, and other modernized "open source" or "free" Video Codecs all appear to be patent encumbered.

MPEG LA(patent trolls, not to be confused with ISO MPEG) tried to claim that AV1 uses their patents, but failed.

viperex ,

Shit, you've got me mad too

barsoap , (edited )

This grant does not include claims that would be infringed only as a consequence of further modification of these implementations.

IANAL but what they're saying here seems to be "if you download our code and modify it and, with that modification, touch some other patent of ours we can still have your ass". That is, the license they're giving out only cover the code that they release. Which shouldn't be too controversial, I think.

The issue with codecs in general is that there's plenty of trolls around and coming up with any audio or video codec is probably going to hit one of their patents, so the best that FLOSS codecs can do is "we don't have any patents on this" or "we do have patents on this but license them freely, also, if someone else goes after you we're going to detonate a patent minefield under their ass". Patent portfolios have essentially reached the level of MAD.

Personally, IDGAF: Software patents aren't a thing over here. You only have to worry about that stuff if you're developing silicon.

Nicoleism101 ,

I do this little trick where I change .webp to .jpg

Nicoleism101 ,

I do this little trick where I change .webp to .jpg

Itdidnttrickledown ,

its not hard to extract the image or video from the webp container.

GardenVarietyAnxiety ,

I hate it as much as anyone else at the moment, and maybe I'm just an optimist, but once more support starts rolling out I think it's going to be great.

stebo02 ,
@stebo02@lemmy.dbzer0.com avatar

yeah it's supposedly a better format, except nothing seems to support it

RecluseRamble ,

If by nothing you mean every browser and most image viewers, then you're right.

stebo02 ,
@stebo02@lemmy.dbzer0.com avatar

by nothing I mean social media other than lemmy

RecluseRamble ,

Who cares about enshittified crap?

stebo02 ,
@stebo02@lemmy.dbzer0.com avatar

People who have friends I guess

RecluseRamble ,

Oh, edgy. I prefer messaging for communication. Signal and WhatsApp both support webp.

stebo02 ,
@stebo02@lemmy.dbzer0.com avatar

None of my friends had Signal and I've only been able to convince two of them to install it. They only use it to message me. Some have WhatsApp, but most use only Instagram or Facebook Messenger, which both don't support my .webp memes.

RecluseRamble ,

That really sucks. I'm sorry to hear that.

Aux ,

Literally every app that matters supports it.

stebo02 ,
@stebo02@lemmy.dbzer0.com avatar

if you don't use any social media then sure

Gemini24601 ,
@Gemini24601@lemmy.world avatar

I hate .webp, almost no software supports it. I can see it reduces the amount of space, but I’m always having to convert it

Cipher22 ,

That format is awful from a user perspective.

Evotech ,

How so. I get that the support isn't there yet, but how is the format itself awful

Sorse ,
@Sorse@discuss.tchncs.de avatar

The format itself is perfectly fine, it’s just that most software doesn’t work with formats made in the 21st century

Cipher22 ,

Literally, you answered your own question. From the user end, unsupported file types of any frequently shared format are garbage. No one cares on the user end about server space. They care about sharing a funny image. They don't care about 2 extra ms of load speed. They want shit to just work.

It's the same reason Open Office sucks. You can't rely on it to just work. As much as dev's hate it (myself too), reliability is king. Webp fails this measure, badly.

qaz ,

Why? I use it all the time and never had issues with it

art ,
@art@lemmy.world avatar

The only program that I ever use that doesn't support webp is Facebook Messenger.

MeatsOfRage ,

Lucky

Cipher22 ,

It performs like trash when trying to copy to text messages.

Sorgan71 ,

webp is better than jpeg, png or any other file format

rob_t_firefly ,
@rob_t_firefly@lemmy.world avatar

But the best image format to download is the original one it was uploaded in, without the recompression of server-side conversion to a lossy webp which we're seeing all over the place.

UnderpantsWeevil ,
@UnderpantsWeevil@lemmy.world avatar

Even if it wasn't, you could just convert it to .jpg if you felt strongly about it. Not as though there's a compatibility issue.

The complaint people are having is with resizing/manipulation after download. They want these enormous uncompressed files floating around on every website, in the off chance they plan to download it and manipulate it. 99.9% of the web needs to be full of megabyte sized image files for the 0.1% y'all want to play with.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • kbinchat
  • All magazines