~uglyduck/uglyduck.srht.site

3ddab460d92e9e93a99741b277d1941cc83d792f — Bradley Taunt 2 months ago 3faf057
Update batch webp conversion post with possible issue fix
1 files changed, 17 insertions(+), 1 deletions(-)

M _posts/2021-10-15-batch-webp-conversion.md
M _posts/2021-10-15-batch-webp-conversion.md => _posts/2021-10-15-batch-webp-conversion.md +17 -1
@@ 17,7 17,7 @@ You *could* download one of the many native apps from the Mac App Store to do th

2) Next we will need to copy the `cwebp` folder to our `/usr/local/bin` directory:
  - Open macOS Terminal
  - Run `sudo cp /Downloads/libwebp-1.2.1-mac-10.15/bin/cwebp /user/local/bin`
  - Run `sudo cp /Downloads/libwebp-1.2.1-mac-10.15/bin/cwebp /usr/local/bin`
  - *Note:* if the `/usr/local/bin` directory doesn't exist, simply create it by running: `sudo cd /usr/local && mkdir bin`

## Creating our custom Automator script


@@ 58,3 58,19 @@ And when right-clicking an image file in the Finder window, it should now give y
If you ever have the need to edit this script (for example, changing the default `85` quality parameter), you will need to navigate to your `~/Library/Services` folder and open your custom webp Quick Action in the Automator application. 

Simple as that!

## Possible Hiccups

I was contacted by the very helpful [Kev Quirk](https://kevq.uk) about a minor problem he encountered while following this tutorial. When trying to run `cwebp` he received the following error message:

```
cwebp cannot be opened because it's from an unverified developer
```

Doing the next steps seemed to have fixed this issue for him:

1. Click on the "Open in Finder" in the error message prompt
2. Double-click on the `cwebp` utility to open in Terminal
3. You'll then be prompted with a pop-up asking if you wish to execute

After following these steps, the issue should be resolved.