News for hackers. Stuff that matters.
Re:Why JPEGs Still Rule the Web After 30 Years (2024) by carra on Wednesday June 18, 2025 @03:28AM (#44307457)
We keep hearing different variants of "webp should take over because now it has good browser support". But that is not nearly enough for an image format to reach widespread adoption.

People want to be able to open the images anywhere (what about watching photos in a smartTV? or an old tablet? what about digital picture frames?). They want to edit the images in any program (what about this FOSS editor? what about the many people stuck in pre-subscription Photoshop versions?).

They also want to ensure far future access to their precious photos, when formats like JPEG2000 or even WebP might be long gone. I mean, webp was made by Google and we know how many of their heavily promoted creations are dead already...

Re:Why JPEGs Still Rule the Web After 30 Years (2024) by whyever on Wednesday June 18, 2025 @04:39AM (#44307905)
> I mean, webp was made by Google and we know how many of their heavily promoted creations are dead already...

I don't understand this argument. WebP is an algorithm, not a service. You cannot kill it once it's published.

Re:Why JPEGs Still Rule the Web After 30 Years (2024) by jacobgkau on Wednesday June 18, 2025 @05:09AM (#44308078)
JPEG XL is similarly an algorithm that's been published, but Google removed it from their browser and Mozilla followed suit, which effectively killed its usefulness as a web-friendly (and, more generally, usable-anywhere) format.
Re:Why JPEGs Still Rule the Web After 30 Years (2024) by Vinnl on Wednesday June 18, 2025 @05:22AM (#44308150)
Some nuance there — it's not dead yet: https://github.com/mozilla/standards-positions/pull/1064
Re:Why JPEGs Still Rule the Web After 30 Years (2024) by eviks on Wednesday June 18, 2025 @06:53AM (#44308707)
Thanks, do you know the status of said safe decoder?
Re:Why JPEGs Still Rule the Web After 30 Years (2024) by Vinnl on Wednesday June 18, 2025 @04:32PM (#44313060)
I do not, sorry.
Re:Why JPEGs Still Rule the Web After 30 Years (2024) by GCUMstlyHarmls on Wednesday June 18, 2025 @09:31AM (#44309748)
> the reference decoder, which weighs in at more than 100,000 lines of multithreaded C++.

Wow! I have never written a compression codec implementation, but that's kind of staggering.

Re:Why JPEGs Still Rule the Web After 30 Years (2024) by carra on Wednesday June 18, 2025 @05:07AM (#44308061)
Fair enough. What I meant by this is that, in the end, most software that decides to add webp support is doing it because of the huge push by Google to do so. But if they suddenly change that push to something else then webp might find itself growing more irrelevant.
Re:Why JPEGs Still Rule the Web After 30 Years (2024) by nottorp on Wednesday June 18, 2025 @06:32AM (#44308566)
I didn't know webp was pushed by Google. They should publicize that fact more so people know to avoid the format entirely.

What Google pushes is in their self interest and has nothing to do with the good of the unwashed masses.

Re:Why JPEGs Still Rule the Web After 30 Years (2024) by graealex on Wednesday June 18, 2025 @09:33AM (#44309756)
WebP is basically a single i-frame from the WebM video codec, which literally was developed by Google to avoid paying license cost for H.264. For which they had great incentive.

WebP is to WebM what HEIC is to HEVC.

You can argue that using free codecs is a collateral benefit here, even though Google did it for selfish reasons. It is not detrimental to the public or the internet.

Re:Why JPEGs Still Rule the Web After 30 Years (2024) by jagermo on Wednesday June 18, 2025 @04:43AM (#44307929)
i don't like working with webp. especially since chrome pushes it on everyting, but googles other tools like slides do not support it. Super annoying, especially since google developed it.
Re:Why JPEGs Still Rule the Web After 30 Years (2024) by jokoon on Wednesday June 18, 2025 @05:26AM (#44308177)
This reminds me of rust: even if rust will be widespread in 10 or 20 years, it will not really displace C++.

Although I need a engineering explanation as to why COBOL is still alive after all those years, because any tech cannot live forever.

Re:Why JPEGs Still Rule the Web After 30 Years (2024) by fsloth on Wednesday June 18, 2025 @07:15AM (#44308835)
Can’t live forever?

Latin is still going strong as well as water pipes (oldest being several millenia old).

Hard to predict which innovations remain resilient. The longer they stick around the more ”Lindy-proof” they are.

Re:Why JPEGs Still Rule the Web After 30 Years (2024) by jt2190 on Wednesday June 18, 2025 @07:58AM (#44309094)
The explanation for COBOL is not an engineering one, but an economics one: “It’s cheaper to train a programmer to use COBOL than it is to rewrite the codebase in <language>.” (Perhaps LLMs might change the economics here.)
Re:Why JPEGs Still Rule the Web After 30 Years (2024) by leptons on Wednesday June 18, 2025 @10:59AM (#44310497)
"If it ain't broke, don't fix it" also applies here.

There is also no guarantee that whatever new language you port the COBOL code to won't also be seen as obsolete in a few years. Software developers are a fickle bunch.

Re:Why JPEGs Still Rule the Web After 30 Years (2024) by 0points on Wednesday June 18, 2025 @06:01AM (#44308360)
> COBOL

Was popular in the 60s in fintech, so banks, ATM:s and related systems went digital using it.

Those systems are still running.

Re:Why JPEGs Still Rule the Web After 30 Years (2024) by graealex on Wednesday June 18, 2025 @09:27AM (#44309708)
Although you can do a bit of Ship-of-Theseus philosophy on those COBOL systems. After every software component has been rewritten multiple times and every hardware has died and subsequently got replaced, all that's left is the decision to stick with COBOL, not the fact that it's a legacy system built in the 60s.
Re:Why JPEGs Still Rule the Web After 30 Years (2024) by prmoustache on Wednesday June 18, 2025 @06:05AM (#44308383)
I am pretty sure webp is supported everywhere nowadays. I think it is just inertia.
Re:Why JPEGs Still Rule the Web After 30 Years (2024) by chownie on Wednesday June 18, 2025 @06:12AM (#44308425)
It isn't universal, my phone gallery doesn't support webp at all by default and the windows gallery only supports non-animating webp from what I can tell?
Re:Why JPEGs Still Rule the Web After 30 Years (2024) by 7bit on Wednesday June 18, 2025 @06:35AM (#44308597)
My smartphone camera does not output webp and so does my professional Nikon.

As long as these two major sources of pictures stay on JPEG, I will too. Simply because that's all for subjective and completely debatable reasons.

Re:Why JPEGs Still Rule the Web After 30 Years (2024) by prmoustache on Wednesday June 18, 2025 @06:45AM (#44308667)
To me what cameras support as an output is irrelevant. On a pro camera you generally use the raw files as a default format. What is important is the formats you can export to / manipulate afterwards for publication/exchange.
Re:Why JPEGs Still Rule the Web After 30 Years (2024) by reaperducer on Wednesday June 18, 2025 @03:58PM (#44312842)
To me

Not everyone is you.

Re:Why JPEGs Still Rule the Web After 30 Years (2024) by xeromal on Wednesday June 18, 2025 @08:52AM (#44309461)
When I download a photo to send to my family webp always causes some kind of problem so I end up screenshotting it
Re:Why JPEGs Still Rule the Web After 30 Years (2024) by schmidtleonard on Wednesday June 18, 2025 @09:27AM (#44309711)
Always always always -- and it's often multiple problems, where the filesystem preview generators don't support it or don't support it over a network or the social media used by the other person doesn't support it (often egregiously so, where an unrecognized drop bubbles up to browser scope and blasts the page you were on) or there's a weird problem with a site/app that is supposed to support it, such as it turns into a black box.

Support for webp is still so rough that I have to wonder what one's ecosystem must look like for it to be seamless. Maybe if you are a googler and your phone/computer/browser use entirely google software and ditto for your friends and your friends friends and your spouses? Maybe?

Re:Why JPEGs Still Rule the Web After 30 Years (2024) by graealex on Wednesday June 18, 2025 @10:10AM (#44310062)
To my knowledge, not even every Google product supports it, but I have not verified support myself.

I blame Google for pushing it, but I also blame every third-party product for not supporting it, when it is mostly free to do so (I'm sure all of them internally use libraries to decode images instead of rolling their own code).

Re:Why JPEGs Still Rule the Web After 30 Years (2024) by prmoustache on Wednesday June 18, 2025 @11:42AM (#44310866)
I think it works better in a totally open source ecosystem. I can share webp pics to my daughters via xmpp for example regardless if I am on my smartphone (conversations) or desktop (gajim)
Re:Why JPEGs Still Rule the Web After 30 Years (2024) by TacticalCoder on Wednesday June 18, 2025 @08:30AM (#44309299)
> But that is not nearly enough for an image format to reach widespread adoption

I use WEBP extensively but WEBP has a major flaw: it can do both lossy and lossless.

That's the most fucktarded thing to ever do for an image compression format. I don't understand the level of confusion and cluelessness that had to happen for such a dumb choice to have been made.

I've got an entire process around determining and classifying WEBP depending on whether they're lossless or lossy. In the past we had JPG our PNG: life was good. Simple. Easy.

Then dumbfucks decided that it made sense to cram both lossy and lossless under the same umbrella.

> They also want to ensure far future access to their precious photos, when formats like JPEG2000 or even WebP might be long gone.

That however shall never be an issue. You can still open, today, old obscure formats from the DOS days. Even custom ones only use by a very select few software back then.

It's not as if we didn't have emulators, converters, etc. and it's all open source.

Opening old WEBP files in the future shall never ever be a problem.

Determining if it's a lossy or lossless WEBP for non-technical users, however... ; )

Re:Why JPEGs Still Rule the Web After 30 Years (2024) by reaperducer on Wednesday June 18, 2025 @03:44PM (#44312757)
That however shall never be an issue. You can still open, today, old obscure formats from the DOS days. Even custom ones only use by a very select few software back then.

Certainly not true.

One example: I have many thousands of photos from my Sony digital camera that cannot be opened by any current operating system without installing third-party software.

I'm lucky that the camera also output JPEG versions as it saved, so I'm able to view the JEPG thumbnails, then drag the Sony version into my photo editor of choice.

Re:Why JPEGs Still Rule the Web After 30 Years (2024) by jacobgkau on Thursday June 19, 2025 @05:49PM (#44322826)
> In the past we had JPG our PNG: life was good. Simple. Easy.

Except for if you wanted a compressed image with transparency for the web, in which case you had to sacrifice one of those two things or use a different format besides those two.

> Then dumbfucks decided that it made sense to cram both lossy and lossless under the same umbrella.

> I don't understand the level of confusion and cluelessness that had to happen for such a dumb choice to have been made.

Besides many end users not caring which one it is as long as they recognize the file type and can open it, I found a few interesting reasons for having both in the same format from a simple web search. One was the possibility of having a lossy background layer with a lossless foreground layer (particularly in an animation).

JPEG XL also decided to support either lossless or lossy compression, so it wasn't just WebP that decided it made sense.

Re:Why JPEGs Still Rule the Web After 30 Years (2024) by Velocifyer on Wednesday June 18, 2025 @08:46AM (#44309420)
JPEG XL is better than webp
Re:Why JPEGs Still Rule the Web After 30 Years (2024) by arp242 on Wednesday June 18, 2025 @09:11AM (#44309598)
Last I checked you couldn't even upload .webp images to GitHub or Telegram. Well, for GitHub you can cheat by renaming it to .png and GitHub's content detection will make it work regardless, but meh.
Re:Why JPEGs Still Rule the Web After 30 Years (2024) by account42 on Wednesday June 18, 2025 @09:12AM (#44309604)
It also doesn't help that most people's experience with webp is force-recompressed versions of images that were originally jpeg. With relatively low quality settings.
Re:Why JPEGs Still Rule the Web After 30 Years (2024) by schmidtleonard on Wednesday June 18, 2025 @09:36AM (#44309779)
I'm not sure people consciously make that association, but you know which association they absolutely do make? The one where google images started using webp at the same time as they were locking it down. At the time, ecosystem support was practically nonexistent, so it functioned as "soft DRM" and among people who know the term "webp" at all that's by far the #1 association.
Re:Why JPEGs Still Rule the Web After 30 Years (2024) by skylurk on Wednesday June 18, 2025 @12:16PM (#44311161)
TIL webp is more than just potato shots that I have to delete off my hard drive once in a while...
Re:Why JPEGs Still Rule the Web After 30 Years (2024) by scotty79 on Thursday June 19, 2025 @12:19PM (#44320075)
Anywhere? I would be super happy if I could open them all in all contexts on my desktop computer.