this post was submitted on 06 Aug 2024
340 points (92.5% liked)

Technology

59587 readers
2553 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
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 17 points 3 months ago (2 children)

So… your solution is to stick with extremely dated and objectively bad file formats? You using Windows 95?

[–] [email protected] 3 points 3 months ago (1 children)
[–] [email protected] 19 points 3 months ago (5 children)

For what it is? Nothing.

Compared to something like JPEG XL? It is hands down worse in virtually all metrics.

[–] [email protected] 15 points 3 months ago (4 children)

I think this might sound like a weird thing to say, but technical superiority isn't enough to make a convincing argument for adoption. There are plenty of things that are undeniably superior but yet the case for adoption is weak, mostly because (but not solely because) it would be difficult to adopt.

As an example, the French Republican Calendar (and the reformed calendar with 13 months) are both evidently superior to the Gregorian Calendar in terms of regularity but there is no case to argue for their adoption when the Gregorian calendar works well enough.

Another example—metric time. Also proposed as part of the metric system around the same time as it was just gaining ground, 100 seconds in a minute and 100 minutes in an hour definitely makes more sense than 60, but it would be ridiculous to say that we should devote resources into switching to it.

Final example—arithmetic in a dozenal (base-twelve) system is undeniably better than in decimal, but it would definitely not be worth the hassle to switch.

For similar reasons, I don't find the case for JPEG XL compelling. Yes, it's better in every metric, but when the difference comes down to a measly one or two megabytes compared to PNG and WEBP, most people really just don't care enough. That isn't to say that I think it's worthless, and I do think there are valid use cases, but I doubt it will unseat PNG on the Internet.

[–] [email protected] 10 points 3 months ago (1 children)

I’m not under the impression it would unseat PNG anytime soon, but “we have a current standard” isn’t a good argument against it. As images get higher and higher quality, it’s going to increase the total size of images. And we are going to hit a point where it matters.

This sounds so much like the misquoted “640K ought to be enough for anybody” that I honestly can’t take it seriously. There’s a reason new algorithms, formats and hardware are developed and released, because they improve upon the previous and generally improve things.

[–] [email protected] 5 points 3 months ago (1 children)

My argument is not "we have a current standard", it's "people don't give enough of a shit to change".

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

People don't need to give a shit, you just need websites and servers and applications to produce and convert images to the new format and the rest will happen "by itself'

It should be pretty much invisible to the users themselvea

[–] [email protected] 2 points 3 months ago (1 children)

And I suppose sysadmins and application developers are not people?

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

Why would you think that sysadmins and application devs wouldn't want to use JPEG XL?

I'm a developer and I like the format

[–] [email protected] 1 points 3 months ago

Because I am a developer and I have also been a sysadmin, and I really do not care. Yes, the format is good but I'm not particularly excited for it.

[–] [email protected] 7 points 3 months ago (1 children)

You're thinking in terms of the individual user with a handful of files.

When you look at it from a server point of view with tens of terabytes of images, or as a data center, the picture is very different.

Shaving 5 or 10% off of files is a huge deal. And that's not even taking into account the huge leap in quality.

[–] [email protected] 1 points 3 months ago* (last edited 3 months ago)

jpeg xl lossless is around 50% smaller than pngs on average, which is a huge difference

https://siipo.la/blog/whats-the-best-lossless-image-format-comparing-png-webp-avif-and-jpeg-xl

[–] [email protected] 1 points 3 months ago

Soo they added webp and AV1, which aren't that much better then old jpeg, especially with the modern jpeg encoder JpegLi. But JpegXL is out of the question.

Those examples all have a good reason that does not apply here. Browsers already support multiple formats and added a few in the last decade.

[–] [email protected] -2 points 3 months ago

I use arch btw

[–] [email protected] 4 points 3 months ago (2 children)

Compared to something like JPEG XL? It is hands down worse in virtually all metrics.

Only thing I can think of is that PNG is inherently lossless. Whereas JPEG XL can be lossless or lossy.

[–] [email protected] 4 points 3 months ago

I haven’t dug into the test data or methodology myself but I read a discussion thread recently (on Reddit - /r/jpegxl/comments/l9ta2u/how_does_lossless_jpegxl_compared_to_png) - across a 200+ image test suite, the lossless compression of PNG generates files that are 162% the size of those losslessly compressed with JPEG XL.

However I also know that some tools have bad performance compressing PNG, and no certainty that those weren’t used

[–] [email protected] 2 points 3 months ago

It has a higher bit depth at orders of magnitude less file size. Admittedly it has a smaller max dimension, though the max for PNG is (I believe) purely theoretical.

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

Compared to something like JPEG XL? [PNG] is hands down worse in virtually all metrics.

Until we circle back to “Jpeg XL isn’t backwards compatible with existing JPEG renderers. If it was, it’d be a winner.”

APNG, as an example, is backwards compatible with PNG.

If JPEG-XL rendered a tiny fallback JPEG (think quality 0 or even more compression) in browsers that don’t support JPEG-XL, then sites could use it without having to include a fallback option themselves.

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

Why are you using PNG when it’s not backwards compatible with gif? They don’t even render a small low quality gif when a browser which doesn’t support it tries to load it.

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

Are you seriously asking why a commonly supported 27 year old format doesn’t need a fallback, but a 2 year old format does?

[–] [email protected] 1 points 3 months ago

When png was released, it was unsupported by the majority of browsers (and is still not supported by everything mind you) but didn’t have a fallback to a more widely adopted format. It was finalized 9 years after gif, which admittedly is a third of the gap between now and png finalization.

Fallback support isn’t needed. It never has been before, why would it suddenly be needed now? Servers are more than capable of checking the browser on request and serving a different format based on that. They’ve been capable of doing that for decades, and the effort that goes into it is virtually non existent.

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

Honest question, does JPEG XL support lossless compression? If so, then it's probably objectively better than PNG. My understanding with JPEG is that there was no way to actually have lossless compression, it always compressed the image at least a little.

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

JPEG XL supports lossless compression with a roughly 35% reduction in file size compared to PNG.

[–] [email protected] 1 points 3 months ago
[–] [email protected] 1 points 3 months ago* (last edited 3 months ago)

So what your saying is that I should save everything as a BMP every time. Why compress images when I can be the anchor that holds us in place.

By us I guess I mean the loading bar

[–] [email protected] 2 points 3 months ago

That's why all my files are in TGA.