429
submitted 1 year ago by 111000@reddthat.com to c/memes@reddthat.com
you are viewing a single comment's thread
view the rest of the comments
[-] Rhaedas@kbin.social 7 points 1 year ago

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

[-] paraphrand@lemmy.world 21 points 1 year ago* (last edited 1 year ago)

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.

[-] Rhaedas@kbin.social 1 points 1 year ago* (last edited 1 year ago)

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.

[-] Perfide@reddthat.com 6 points 1 year ago

This doesn't always work unfortunately.

[-] averyminya@beehaw.org 3 points 1 year ago

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

[-] Revan343@lemmy.ca 3 points 1 year ago

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

[-] averyminya@beehaw.org 3 points 1 year ago

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

[-] cmgvd3lw@discuss.tchncs.de 1 points 1 year ago

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

this post was submitted on 19 Dec 2023
429 points (100.0% liked)

Memes @ Reddthat

1086 readers
1 users here now

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

founded 2 years ago
MODERATORS