Yesterday I received a batch of pictures from a customer that I was supposed to exchange on her website. In the first email I thought the files were defective because the images were not displayed in Apple Mail and only strange placeholders with question marks were visible in the mail. I only knew that from broken JPEG photos.
I asked the customer to send me the files again, but the second mail looked the same. When I then looked at the attachments with the paperclip symbol in Apple Mail, I saw the file extension "webp" and it was already clear to me: this is the reason for the display problems. Consequently, my Apple Mail crashed less than 5 seconds later - probably because it was so shocked to discover "WebP" files.
Chapter in this post:
- 1 Mac crash due to WebP?
- 2 WebP is Google's HEIC
- 3 Quick help: WebP ad with Google Chrome
- 4 Modify and convert WebP files on your Mac
- 5 1st possibility: XnConvert - does not work
- 6 2nd possibility: GraphicConverter - a direct hit
- 7 Small bug: transparent images are reduced to the background level
- 8 Conclusion: GraphicConverter is the Swiss Army Knife for image conversion
- 9 Similar posts
Mac crash due to WebP?
[Fun mode] The reaction of my MacBook Pro is understandable, since the WebP format was created by Google and Apple of course has to refuse to cooperate. For this reason, macOS probably has a random crash sequence built into it, which is started whenever you want to open a WebP file on the Mac. [/ Fun mode]
WebP is Google's HEIC
While Apple is relying on a new compression system from its own home with HEIC, Google has a reduction in all graphic and photo files on the web on its agenda with the WebP standard. Unfortunately, WebP is (not yet) natively supported by Apple's operating system, so that interestingly, although the files are displayed in Quicklook (highlight the file and press the space bar), they cannot be opened in the preview.
If you want to read more about the compression technology of WebP, you will find a suitable document from Google here: Compression Techniques (of WebP).
Quick help: WebP ad with Google Chrome
If you just want to take a quick look at a WebP file, you can also use the Google Chrome browser. This of course understands the image format and displays the graphics accordingly. Quicklook also seems to be able to handle the files (at least for me). But changes cannot be made with it.
Modify and convert WebP files on Mac
I now had to get the files in a format that I can open in Photoshop. At the time of Mojave, I once installed a Photoshop plug-in that enables the import of WebP files (see here ). Unfortunately, the plugin became unusable after switching to Catalina, because I now only get a message that the "WebPFormat.plugin" plugin does not come from a verified developer and therefore cannot be opened.
You could do it here switch off the gatekeeper of the Mac with terminal commands, but I try to avoid interfering with the security settings of macOS as much as possible and have therefore started looking for other options.
1st possibility: XnConvert - does not work
The first round of googling brought me to a free app called "XnConvert", which can be found in the Mac App Store. The first impressions were also positive: the files were all opened and displayed correctly, but unfortunately something went wrong every time during the export and strange artefacts appeared in some parts of the image.
Even after trying out the settings a lot, the defective parts of the image did not disappear, so that XnConvert can unfortunately not be recommended at this point.
2nd possibility: GraphicConverter - a direct hit
My second idea was "GraphicConverter“ by Lemke Software. A tool that I used more than a decade ago to convert large amounts of images from one format to another. A quick look at the types of files it can import and export, showed me that I was at the right address: GraphicConverter supports WebP both when opening and saving.
So I got the test version, which is fully functional and only differs from the full version in that there is a waiting time when starting the program.
Opening the WebP files went smoothly. All images that were dragged and dropped onto the program icon were immediately displayed in the overview with thumbnails. Since my case was images with transparency, I wanted to choose the PSD format for the output so that layers are preserved for Photoshop.
So that the layers are also saved in Photoshop format, you have to select the PSD format when saving and then select the "Options" button. In the next window, check the “Layers” box.
Small bug: transparent images are reduced to the background level
Unfortunately, there then follows a small bug in GraphicConverter, because even if you have activated the layers in the PSD options, the originally transparent layer is still calculated on a white background in the finished PSD and saved without transparency.
However, I found a workaround that works: You create another layer via the "Layers" menu and the "New layer" menu item, which you drag to the background. The window in which you can change the order of the layers appears via the "Window" menu and the item "Layers visible".
Now you save the file via "File" and "Save as" in the "PSD" format and it works with the transparency channel when you open the image file in Adobe Photoshop.
Conclusion: GraphicConverter is the Swiss Army Knife for image conversion
If you have to convert graphics in different image formats or work with large amounts of files, edit them, add watermarks or convert the resolution, you will enjoy GraphicConverter.
I got the family license for 5 Macs straight away, which only costs EUR 49,95. The full version for a single user costs only EUR 34,95. You can download the trial version of the software Download here at Lemke Software.
If you still have practical tips on working with WebP files on the Mac, I would be happy to hear your comment.
Related Articles
With Lynne, a graphic artist and designer has joined the team who contributes articles on the topics of homepage, web development and Photoshop. YouTube has recently become one of her areas of activity. Lynne is (unintentionally) very good at generating error messages and thus ensures a steady influx of problem-solving articles, which repeatedly make the Sir Apfelot blog a popular contact point for Mac users.
Yes, GraphicConverter is SUPER, have been using it for around 20 decades.
About 'WebPFormat.plugin' is not from a verified developer': What _sometimes_ works is this: go to System Preferences>Security & Privacy>General right after this message appears. The message appears again in the window (maybe :) with a button that you want to trust it. Maybe you have luck.
Pixelmator will open and convert it too!
Ah ok! Thanks for the hint. : D
With .webp just make a copy of the image file and change the ending .webp to .jpg.
Hi Gerry! Your suggestion doesn't work for me. When I rename a WebP file and then drag it onto Photoshop, I get this message: "Could not open “untitled-2000.jpg” because an unknown or invalid JPEG marker was found." And opening the WebP file on Mac in the preview works without renaming ... only Photoshop bitches around.
Hi Jens! It works fine for me (with Windows 10). When testing on the iPad, the file could also be opened (in Keynote). The WEBP file did not appear in the first place (as with Impress and PowerPoint).
Maybe Photoshop is “more sensitive” ;-)).
Hi Gerri! Ok, I didn't assume that you were talking about Windows, because this post is about the Mac. : D But yes, I also think that Photoshop is a bit peculiar. What I don't understand: WebP wasn't just around yesterday and it is now established on the Internet. Why can't the leading image editing program do that yet ??? Incomprehensible…
I faced the same problem - .webp format not recognized in PS on Mac. For me, the fastest solution is Squoosh. There the format can be opened and converted without downloading additional software.
Thanks to you for the info! You then drag the webp to the Squoosh website?
Thank you for the tip, it works very well.
the tool is (now?) available as an app (freeware) that also works offline and works wonderfully for me on macOS 10.15: https://squoosh-desktop.vercel.app/
For small amounts it's enough for me to open the webp file with Firefox or Opera and take a screenshot of the image.
That's how it works, of course! 😊 Nice workaround.