How to install cwebp on mac

Posted on: January 25th, 2022
By: Tadeo Martinez

I followed this Stack Overflow question.

Step 1

/usr/sbin/softwareupdate –install-rosetta –agree-to-license

Step 2

arch -x86_64 /bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)”

Step 3

arch -x86_64 brew install cweb
arch -x86_64 brew install webp

Install them one at a time.


<picture><source type=’image/webp’ srcset=’/images/image-name.webp’ />

<source type=’image/png’ srcset=’/images/image-name.png’ />

<img src=”/images/image-name.png” alt=”image alt” width=”400px” height=”auto” />

</picture>

Have any questions or comments? Write them below!


Leave a Reply

Your email address will not be published. Required fields are marked *