this post was submitted on 30 Jun 2023
267 points (97.2% liked)

Memes

45745 readers
2177 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] AstralJaeger@lemmy.ml 42 points 1 year ago (3 children)

Thats why I built a tool that watches my download folder and converts webp and webm to png and mp4 preserving the original. Its still missing some features but its available on my GitHub for free as OSS

[–] ambystoma@feddit.de 4 points 1 year ago (1 children)

Oh my god this is awesome!! I wanted to make something like this for myself for a while but never got around to it, unfortunately.

[–] AstralJaeger@lemmy.ml 2 points 1 year ago

Thanks! If you have any issues, just open an issue and I'll have a look!

load more comments (2 replies)
[–] airportline@lemmy.ml 23 points 1 year ago (2 children)

.webp is a good format. It's Adobe's fault for not properly supporting it.

[–] electrorocket@lemmy.ml 6 points 1 year ago (1 children)
[–] hyperdriveguy@vlemmy.net 10 points 1 year ago (1 children)

Better compression and more features, it's really nice for reducing website load times

[–] Lifter@discuss.tchncs.de 1 points 1 year ago (1 children)

It takes less download but more CPU to unpack it so the loading time depends on your connection and hardware. In extreme cases it may be worse than png.

load more comments (1 replies)
[–] aeharding@lemmy.world 6 points 1 year ago* (last edited 1 year ago)

webp: nahhhh

jpegXL: yooooo

[–] fresh@lemmy.world 18 points 1 year ago (2 children)

I have a firefox extension that I use at least multiple times a day, that lets me select which format to download an image in - from JPGs (with multiple compression options) to PNG and WEBPs.

I’ll update this post with the name when I have access to my computer.

[–] hare_ware@pawb.social 4 points 1 year ago (1 children)

So, what you're saying is that you always download in lossless or perceptually lossless webp or avif? 🔫

[–] buckykat@lemmy.fmhy.ml 4 points 1 year ago (1 children)
[–] YaneonY@lemmy.st 1 points 1 year ago

Wonder stat the text is still readable...

[–] LinkOpensChest_wav@lemmy.one 1 points 1 year ago (1 children)

Is it "Save webp as extension"? This is what I use. I like it because you can still save as webp if you want, but it pops up with other options.

load more comments (1 replies)
[–] Dirk@lemmy.ml 17 points 1 year ago

Same pain as when you download a "PNG" and instead of a transparent background PNG it is a JPG with checkerboard background.

[–] exu@feditown.com 13 points 1 year ago* (last edited 1 year ago) (3 children)

Webp is great. Why wouldn't you use webp?

[–] yote_zip@pawb.social 42 points 1 year ago (2 children)

It's good for serving 1st-gen ephemeral images that you don't care about, but bad if you want to keep an image around for archiving or sharing. It has many random limitations with its lossy and lossless format, including a low bit depth, no support for 4:4:4, no support for HDR, and no support for progressive decoding. This is especially annoying for a lossless format, as you'll often be losing data when converting from a format like PNG, defeating the purpose of lossless.

You might be surprised how good JPEG still is in this day and age. We have dragged JPEGs corpse across the decades with newer and better encoders, and JPEG is actually still a solid format because of this effort. People have a deep impression that JPEG sucks, because it used to suck. The JPEG we know today is not the JPEG of the past. MozJPEG is an excellent modern encoder and gives great results at very fast encode/decode speeds.

People might want to argue about how good WebP is in comparison to JPEG, but in reality there are two newer formats that far outclass WebP and don't have its quirks - JPEG XL and AVIF. JPEG XL is the best option we have currently and it's not even close, given that it's a real modern image format and not just a video codec repurposed for images, like AVIF. The problem is that Google is putting its weight behind AVIF, and is trying to kill JPEG XL by taking support for JPEG XL out of Google Chrome. Firefox has followed suit as they're also a member of the AOM which developed AVIF. Almost any fork of Google Chrome or Firefox puts JPEG XL back in, at least.

This article goes over some of the competing formats, and I especially like this image as a comparison matrix. You can probably find more articles by Cloudinary and Jon Sneyers on the topic. It's one of the most obvious instances of why we should not be letting Google rule 100% of the browser market - they can kill competition on things like this with the flip of a switch.

[–] Max_UL@lemmy.pro 13 points 1 year ago (1 children)

This is the kind of top tier, expert commentary I come to Lemmy for, thank you for that education on the topic!

[–] yote_zip@pawb.social 9 points 1 year ago

Thank Jon Sneyers - I'm mostly just repeating what he's had to say!

If anyone wants to learn more about JPEG XL, Jon has a good walkthrough on the JPEG XL slidedeck. It's been about half a year since Google made their controversial decision, but I'm hoping the fight is not over. Many industry giants are mad at Google (and Mozilla, to a lesser extent) over this, and browsers are pretty much the only place where JPEG XL doesn't exist. Unfortunately, it's a very important place for an image format to exist.

[–] exu@feditown.com 2 points 1 year ago

Didn't expect such an in-depth technical post on the meme community, but here we are :)
I wasn't aware that WebP had this many limitations.
It really is a shame though, what Google have done to JPEG XL.

[–] AstralJaeger@lemmy.ml 7 points 1 year ago

It has a really good compression algorithm and can preserve more detail in a smaller filesize.

As a website owner you usually pay for outbound traffic or atleast storage, thus having a smaller file reduces your cost, appart from the benefit that more users are able to load the file.

[–] FabulousAardvark@lemmy.ml 6 points 1 year ago

Genuine question, what's great about webp? I must be missing something

[–] produnis@discuss.tchncs.de 12 points 1 year ago (1 children)
[–] Martineski@lemmy.fmhy.ml 1 points 1 year ago

I don't use Arch, btw (downvotes incomng!)

[–] vortex@lemmy.ml 9 points 1 year ago (2 children)

.webp? Oh great, I get to install Homebrew, search for some package to convert it into a PNG, figure out the command line options and then finally I'll get an usable version of the image.

In case you're actually wondering, its:

brew install webp
dwebp {filename}.webp -o {filename}.png
[–] Martineski@lemmy.fmhy.ml 4 points 1 year ago* (last edited 1 year ago) (2 children)

1.) Download the webp image

2.) Open using paint

3.) Save as png

load more comments (2 replies)
[–] davysnavy@lemmy.fmhy.ml 2 points 1 year ago

Now here's a comment worth saving :D

[–] MartianInAHumansBody@lemmy.ca 7 points 1 year ago

At some point support for the format will catch up, and we can forget about it. But for now, I'll just continue to grumble

[–] nihilist_hippie@lemmy.world 7 points 1 year ago (2 children)

Here's a neat trick: When saving a .webp image file, simply rename it to .jpg, and it will open no problem in the Windows Photos app. Personally, I save all of mine as .webp.jpg, just so I can distinguish them apart from other image types in the future.

[–] Scraft161@iusearchlinux.fyi 9 points 1 year ago (1 children)

while that will work for the majority of images, webp is not just a container for jpeg compression and allows for much more (animated webp for example is the near perfect replacement for animated gif yet very few applications support it).

The big advantage is that webm and webp can use a variety of formats really well and allows you to pick the one most appropriate for your content whilst still having a container format that supports it.

[–] SubArcticTundra@lemmy.ml 2 points 1 year ago (1 children)

Is animated webp better than .apng? Or is that what it contains?

[–] Scraft161@iusearchlinux.fyi 1 points 1 year ago

animated webp allows for video compression it can dramatically reduce file size while also giving the same benefits as apng. It also allows for proper transparency so you don't have to fiddle with export settings not to have layers overlap and you can use actual alpha values

[–] zShxck@lemmy.ml 2 points 1 year ago

Yeah, i used this trick on Windows, but when i switched to Linux it doesn't work

[–] stick2urgunz88@lemmy.world 5 points 1 year ago

There’s various browser extensions to get around this. Chrome and Firefox both have one that just converts the webp to jpg or png. Just Google “don’t accept webp” browser extension.

[–] qwen@lemmy.blahaj.zone 4 points 1 year ago

mate what happened with those ls

[–] lackthought@lemmy.sdf.org 3 points 1 year ago (1 children)

didn't realize people had issues with .webp

MacOS must have native support, I don't recall installing anything but they work fine in Preview and Quick Look

load more comments (1 replies)
[–] Flaky@iusearchlinux.fyi 2 points 1 year ago

KDE's Gwenview can actually save/convert WebPs to PNGs, JPEGs, etc.

[–] IverCoder@lemmy.ml 2 points 1 year ago

The worst part is why apps doesn't support webp like how they support jpg or png. That's also a widespread image format, there's no reason for them to not support it.

[–] Randy_Bobandy@lemmy.ml 2 points 1 year ago (1 children)

Get irfanView. IrfanView can open them and save them as PNG or JPG. I use IrfanView as my default image viewer.

I still fucking hate webp though.

[–] Gmork@lemmy.ml 2 points 1 year ago

Yep! Listen to the wise words of Bobandy.

IrfanView is a mainstay on my PC since I came across it years ago along with SumatraPDF.

[–] GissaMittJobb@lemmy.ml 1 points 1 year ago (2 children)

Why? Webp is better than both jpeg and png.

[–] zShxck@lemmy.ml 2 points 1 year ago

The answer is a couple of comments above your comment

[–] melon_lord@lemmy.ml 1 points 1 year ago

Pretty hit or miss when i open it in illustrator/photoshop.

[–] ososalsosal@aussie.zone 1 points 1 year ago* (last edited 1 year ago) (1 children)

Gif since 1987
Jpg since 1991
Webp since 2010

13 years is a long time in tech.

Now... could we talk about .heic files?

load more comments (1 replies)
load more comments
view more: next ›