this post was submitted on 29 Sep 2023
406 points (95.1% liked)

Technology

58303 readers
11 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

Any Chromium and Firefox browser prior to version 116 will be vulnerable to this, update your browsers.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 67 points 1 year ago (4 children)

Further solidifying webp as the worst image format.

[–] [email protected] 29 points 1 year ago* (last edited 1 year ago)

The current advisory is in webm (VP8 specifically). The webp one was 2 weeks ago. ...yeah, not a good time for web browsers lately...

(edit: noticed OP actually did link the webp one, I thought it'd be CVE-2023-5217 because that's being linked elsewhere)

[–] [email protected] 15 points 1 year ago* (last edited 1 year ago) (3 children)

WebP is currently the smallest and highest quality format accepted by browsers today. I have no idea why you think so negatively of it, but it's irreplaceable until something better is widely adopted, and thus viable.

It's the best format for websites as of this exact moment.

[–] [email protected] 18 points 1 year ago

Highest compression, not highest quality (arguably).

Also heavy compression which takes more resources to display.

Also poor compatibility outside browsers.

afaik it's basically still just VP8 in image format with added metadata, and google refuses to support alternatives because they like to own the browser market.

I think there was gonna be a webp and webm 2, but it never happened.

[–] [email protected] 7 points 1 year ago

The only reason that’s the case is because Google axed the JPEGXL implementation

[–] [email protected] 5 points 1 year ago

AVIF is supported everywhere and it's fantastic

[–] [email protected] 12 points 1 year ago (4 children)
[–] [email protected] 32 points 1 year ago (2 children)

Try linking one and sending it to someone else. I tried it and the recipient died two days later.

[–] [email protected] 24 points 1 year ago (3 children)

There's some politics involved. Basically, everyone is rallying behind JPEGXL instead of WebP, but Google refuses to support JPEGXL in Chrome. The reasoning they gave is weak, so it's assumed that they're just trying to force the format they invented on everyone because they can.

IIRC, performance of the two formats is similar.

[–] [email protected] 6 points 1 year ago
[–] [email protected] 4 points 1 year ago (1 children)

why does everyone like jpegxl and why does google care if it's foss

[–] [email protected] 13 points 1 year ago (1 children)

JPEG XL, like AVIF and HEIC and WebP, is basically a next generation format that supports much higher quality at lower file sizes compared to JPEG and PNG.

Among those four formats, JPEG XL is promising because it allows for recompression of JPEG losslessly. That means if you take an image that was already encoded as JPEG (as the vast, vast majority of images are), you can recompress with no additional loss in quality from the conversion. That's something that isn't true of the others.

JPEG XL also has a much higher maximum quality and specific features great for high quality image workflows (like for professional photographers, publishers, and those who need to print images). WebP, AVIF, and HEIC are good for sharing on the web, but the printing and publishing workflow support requires a few more conversions along the way.

I thought this blog post by a cloud image delivery network that played a big role in developing JPEG XL was pretty persuasive, even if they had a direct interest in JPEG XL adoption.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

But aren’t jpegxl and webp meant for completely different uses? Like jpeg and png are. Jpeg is better for photos and png for graphics.

Also using “XL” in a name for an encoding which does better compression was not the smartest idea, that will surely confuse many users.

[–] [email protected] 1 points 1 year ago (1 children)

But aren’t jpegxl and webp meant for completely different uses? Like jpeg and png are. Jpeg is better for photos and png for graphics.

No. JPEG XL is designed to be better at pretty much everything than webp (which was just adapted from a video format that was designed to be really efficient at video but without touching any patents). JPEG is best at photographs at screen resolutions, and PNG is best for screenshots of computer interfaces with lots of repeated colors, and DNG/TIFF are great for high resolution and bit depth (like for professional printing and publishing, or raw image capture from the camera). JPEG XL does a good job at all of those.

[–] [email protected] 1 points 1 year ago

Thank you. It would be nice with one format to replace them all.

[–] [email protected] 2 points 1 year ago

Exactly why WebP is shit, and Google literally owning everything shouldn't be normalized.

[–] [email protected] 8 points 1 year ago (2 children)

It’s a format that most major image editors don’t support. Basically, if you wanted to do anything with it, you need to first convert it to a different format. It’s the only format that has this problem.

[–] [email protected] 6 points 1 year ago (1 children)

That's fair except it's not the only format that has this problem. There's JPEG 2000 and AVIF which have even less image editor support.

[–] [email protected] 1 points 1 year ago

I had meant to say common format. I’ve never encountered a JPEG 2000.

[–] [email protected] 1 points 1 year ago (1 children)

I’m old enough to remember when the same argument was made for PNG files. It’s a stupid argument.

[–] [email protected] 0 points 1 year ago

WEBP is 13 years old at this point and lacks the support that PNG had 3 years into its lifetime. The benefits are marginal, and without platform support it can’t catch on. Do your research before calling someone else’s argument stupid.

[–] [email protected] -4 points 1 year ago

I think most people dislike it because Google made it. Google is evil as fuck, but it's a damn good image format, obviously so since it's way smaller for the same visuals compared to the older formats, plus it supports transparency. Google is evil but still makes good software sometimes.

[–] [email protected] 1 points 1 year ago (1 children)

? I dont like it because I'm uneducated so it's bad, average voter