You are viewing a single thread.
View all comments
6 points

Every webp image I’ve wanted to save I just renamed the extension to png and it works fine.

permalink
report
reply
3 points

It’s a workaround but doesn’t work if you try to open the image in Photoshop to edit it without the webp plugin.

permalink
report
parent
reply
3 points

Photoshop supports it atm, not sure how recent it was added

permalink
report
parent
reply
3 points

Ah I don’t have the recent cloud, I’m a version or two behind. I’ve always needed a plugin for webp images

permalink
report
parent
reply
1 point

Yes it would work, but their hex file would still be of webp’s. But you can use a converter.

permalink
report
parent
reply
6 points

This doesn’t always work unfortunately.

permalink
report
parent
reply
20 points
*

Renaming an extension does not actually modify the contents of the file. Some software that supports webp may look at the contents and recognize it as webp and load it. But that’s not all software.

It’s a bad practice to do that. It’s like changing a .docx to .pdf and expecting it to be fine.

permalink
report
parent
reply
1 point
*

It’s absolutely not a great thing to do in general, however it does work since the file contents are apparently a modified png. And everything that I used to both look and modify it later including automated CLI level cropping commands seem to think it’s a png.

Since it works and hasn’t broken anything, and nothing I have recognizes the webp extension, seems to be okay for this niche purpose.

permalink
report
parent
reply

Memes @ Reddthat

!memes@reddthat.com

Create post

The Memes community. Where Memes matter the most.

We abide by Reddthat’s Instance Rules & the Lemmy Code of Conduct. By interacting here you agree to these terms.

Rules

  • No NSFW content
  • No bigotry - including racism, sexism, ableism, homophobia, transphobia, or xenophobia. Code of Conduct.
  • Be respectful, especially when disagreeing. Everyone should feel welcome here.
  • No porn.
  • No Ads / Spamming.

Community stats

  • 351

    Monthly active users

  • 194

    Posts

  • 3K

    Comments