20

macOS seems to recognize WebP images as such, and seems like it actually tries to display previews of them, but always fails.

screen1

They are also associated with Preview application, just like other image formats, but Preview also chokes on it (without any error messages, it just silently fails to open a window).

Does it mean that it's intended to actually work but it fails just on my system for some reason?

In my case, the WebP images are lossless and not animated.

15

Now it's possible with this Quick Look plugin:

WebPQuickLook

| improve this answer | |
  • 3
    Worked, though note that as of Catalina, it won't work with the default instructions, due to security restrictions, you also have to run this terminal command: xattr -d com.apple.quarantine ~/Library/QuickLook/WebpQuickLook.qlgenerator – jerclarke Jan 14 at 15:20
  • 2
    Found that in the Issues of their Github, not sure why it's not integrated into their Readme. Hopefully they will update their setup and that command will no longer be necessary (please reply to this if you discover that's so). – jerclarke Jan 14 at 15:21
  • @jerclarke: It seems not. No updates to any of the actual code in 2 years, a pull request that's over a year old... looks abandoned - too bad. – Seamus May 29 at 3:47
  • FWIW people on the Github were talking about an App Store app that solves the problem successfully, I think it was this one: apps.apple.com/ca/app/webp-viewer-quick-look-view/… – jerclarke May 31 at 0:13
4

Preview cannot open webp.

For full details on what Preview can open can be found here

To view webp files, you need to download the framework from Google

| improve this answer | |
  • 3
    > 'Files are not associated with the "Preview" application. They are associated with their respective applications that can open/edit them.' — this contradicts the fact that when I try to open them, Preview is launched. (to be honest, I don't remember if I manually did set it up that way, but I doubt I did) – Display Name Jun 3 '17 at 15:58
  • So, when you have Photoshop installed, what opens it? Preview or Photoshop? When PS is installed can Preview still open it? – Allan Jun 3 '17 at 16:00
  • 1
    I can't try this because I don't want to spend money on Photoshop license nor do I trust it. I can try with GIMP though. But I don't see how installed GIMP would magically help Preview to understand files which it can't understand now. – Display Name Jun 3 '17 at 16:02
  • PS was an example - regardless. Preview has no ability to view webp. – Allan Jun 3 '17 at 16:03
2

A Brief Survey of webp Support in macOS, 5/29/20:

Answer: Nearly 3 years after the OP's question, it seems the answer remains the same: "webp is not well-supported in macOS".

It appears that after briefly supporting webp in a beta release of macOS Sierra, Apple decided against it. AFAIK, Apple provided no rationale or explanation for this decision (no surprise there). This may lead some to speculate that it was a petty motivation - as a Google product, perhaps it's the "not invented here" syndrome? I'll stick my neck out, and speculate that Apple will never support webp. Note also that Safari is notably absent from the list of browsers supporting webp.

As @Allan mentioned, Google has provided a webp library, and they have published the sources for their webp library. There is a GitHub repo for webp, but it's an empty facade - perhaps to prevent others from creating a repo under that name?

Google's licensing appears to be non-standard. I won't comment further as I'm a layperson in IP matters.

Google's webp library includes several command-line utilities. It can be installed with MacPorts (sudo port install webp). For me (my use case), the utilities are useless:

  1. They provide no useful conversions, as they do not decode to the GIF format.

  2. Animated webp files are crudely rendered by vwebp via OpenGL in one size only.

One of the answers here references the WebPQuickLook repo on GitHub. But as of this writing, this repo appears to be abandoned as there have been no changes to the repo files in 2 years.

The macOS App Store has several utilities that claim some level of support for webp. I've not tried them, but I generally shun the App Store due to several poor experiences.

| improve this answer | |

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .