this post was submitted on 20 Sep 2025
603 points (82.7% liked)
Programmer Humor
26536 readers
2862 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
also if you only view them and don't care about editing them you can straight up rename the *.webp to *.jpg
it'll still open as a jpg outside of your browser, but it apps that you'd use for image editing still won't want it
Iirc that means it'll stay a webp, some program will just fail to open them and the once that can only do it because they recognize the file header and therefore disregard your file extension shenanigans.
What I'm saying is if you do that it's funny but also completely useless.
That is not how file conversion works
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
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.