3

If I compress and save an image as WebP and then rename the extension as jpg will there be any downsides? This is why I ask: My blog doesn't support WebP format, however if I rename it to png or jpg it will accept it.

What's the possible downsides on this trick?

ElKePoN
  • 822
  • 11
  • 21

2 Answers2

1

I just change the name from .webp to .jpg and I have never had a problem. Obviously, you have to set your file manager (File Explorer) to be able to view the file name extensions.

Gina
  • 11
  • 1
0

As of December 2020, all major browsers support JPEG, but not all fully support WebP [https://caniuse.com/webp]. Users of browsers without WebP support won't see the images when visiting the page, so this might be why your blog platform doesn't accept WebP files.

Another downside: if someone downloads an image, the downloaded file will still have the ".jpg" extension despite being WebP format. Many programs depend on file extensions to know how to open it. They will try to decode it as JPEG, but fail, since the file is WebP.

Pascal Getreuer
  • 2,906
  • 1
  • 5
  • 14