this post was submitted on 20 Sep 2025
603 points (82.7% liked)

Programmer Humor

26536 readers
2487 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] ryannathans@aussie.zone 13 points 4 days ago (1 children)

That is not how file conversion works

[–] shneancy@lemmy.world 0 points 4 days ago* (last edited 4 days ago) (1 children)

i am perfectly aware of that, but if you only want to view the .webp file outside of your browser, you don't need to convert it properly, just rename the extansion

[–] black0ut@pawb.social 12 points 4 days ago

Yes, and no. No app will display the image if it wasn't already capable of displaying webp, period.

However, there are many places (mainly websites where you can only upload certain formats, but it can also be apps) where the underlying infrastructure supports webp, but they do a simple extension check first with a list of file extensions that doesn't include .webp. In those cases, changing the extension to .jpg will get the image through the filter, and the underlying system will detect the format using the magic number at the beginning of the file.

The same thing can happen when your OS has no associated app to open .webp, but the app it uses for .jpg can also display .webp.