this post was submitted on 29 Jun 2024
731 points (91.6% liked)

memes

10184 readers
2273 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

Sister communities

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] yesman@lemmy.world 2 points 4 months ago (3 children)

If you want to save a *.webp file, just change the extension to *.png. There is no need for a converter.

[–] mke@lemmy.world 11 points 4 months ago* (last edited 4 months ago) (1 children)

Sorry, is this comment meant in jest? If not, could you explain what exactly you mean by "no need for a converter?"

I'm pretty sure that's not how it works. No actual file data conversion is happening when you do that unless you're using additional tools e.g. browser extensions.

[–] Pirasp@lemmy.world 3 points 4 months ago (1 children)

Iirc .webp supports a fallback to PNG compression, so this actually works with some.webp files. I could be completely wrong tho.

[–] mke@lemmy.world 6 points 4 months ago* (last edited 4 months ago) (1 children)

Hey, thanks for the input. I'd like to read more about this, but I can't seem to find anything related online. Anything else you could share?

Just checking, you sure you're not confusing fallback-to-another-format when the browser doesn't support webp? Because that's a bit of separate issue, and not a terribly relevant one since all major browsers have supported webp for a while now.

[–] corus_kt@lemmy.world 8 points 4 months ago (1 children)

Note: this DOES NOT convert the file (obviously) although it will force it to be 'usable' in certain cases. If you bring the same file to a program that cannot work with webp format (ex. Da Vinci Resolve), it will crash or not show. To non-creators this is not an issue, but for creators: have fun figuring out which images you've saved are actually webp and won't work later on.

I know webp has become much less annoying after windows finally added webp support to photos after w11, so 'advice' like this tends to work more often than not. Just use a browser extension and convert it properly if you intend to spread an image...

[–] victorz@lemmy.world 7 points 4 months ago

have fun figuring out which images you've saved are actually webp

file * | grep -i webp or something?

[–] AntiGuide@feddit.org 2 points 4 months ago

Are you sure? Maybe your image viewer adapts to the magic number and recognizes the webp file as webp anyway. I believe the formats are fundamentally different.