News for hackers. Stuff that matters.
Re:Is WebP really better than JPEG? by reaperducer on Tuesday June 23, 2020 @11:55AM (#23615632)
can be supported in any browser via a Javascript

I think you answered your own question right there.

I'm not going to use a dumptruck to bring a single sack of sand to my garden.

Re:Is WebP really better than JPEG? by nine_k on Tuesday June 23, 2020 @12:07PM (#23615822)
For an image gallery, the balance could be the opposite: a small (56k) download of a decoder allowing to show many large (a few megs each) pictures.

I wonder how good the performance of that decoder is, though; if the decoding delay is much longer that the network transfer delay, the approach becomes much less appealing.

Re:Is WebP really better than JPEG? by acdha on Tuesday June 23, 2020 @05:32PM (#23620588)
It's also not common to need a ton of huge images all at once — in almost all applications you're either displaying thumbnails and JPEG is fine and will load faster thanks to the browser's preloader getting those requests in faster than the JavaScript can run or you're looking at something like pages where the latency is easily hidden by preloading.

That means that in most cases the main driver is lower network transfer and you need to be serving a LOT of images to outweigh the cost of having to support something new and complicated versus something as widely tested and supported as JPEG.

Re:Is WebP really better than JPEG? by tracker1 on Tuesday June 23, 2020 @12:13PM (#23615917)
can is not the same as must ... there is absolutely the possibility of adding support as a binary implementation, especially with the relatively short turn around of green browsers. IE11 and Safari are the last of the old guard on this and mobile devices have a 2-3 year burnout in terms of support.

Not to mention it could be feature detected via browser, js and other means as an interim solution. Also, I'm pretty sure the implementation is wasm with a very thin JS shim, at least that would be my presumption as I'm not familiar with this format/project.

Re:Is WebP really better than JPEG? by zamadatix on Tuesday June 23, 2020 @08:11PM (#23622174)
It's extremely ironic then that IE11 and Safari are the only browsers to support HEVC, the rest didn't bother because of the licensing issues (which BPG inherits) severely limiting any chance it has of ever being natively supported.

AVIF however may have a chance.

Re:Is WebP really better than JPEG? by vmception on Tuesday June 23, 2020 @05:03PM (#23620224)
Thats a great and accurate metaphor. Maybe its not a good metaphor since those compare dissimilar things with common attributes. So, this is just accurate.