/homebrew-webp

🍺 Homebrew: WebP build with all CLI tools.

Primary LanguageRuby

homebrew-webp

A complete build of libwebp, including all CLI tools.

Last built/tested on macOS 14.0 ”Sonoma” with Xcode 15.0.0 on both Intel and Apple Silicon CPUs.

Why not the formula from homebrew-core?

The formula from homebrew-core disables many of the CLI tools that libwebp provides.

Installation

brew unlink webp
brew install skyzyx/webp/webp-full

Or, if you’re debugging with a local clone (or you’re Future Ryan and you’re trying to remember how to do this):

brew install --verbose --debug --build-from-source ./Formula/webp-full.rb

(You might need to use reinstall instead.)

Support

Includes the following binaries:

Binary Description
cwebp Compress an image file to a WebP file.
dwebp Decompress a WebP file to a PNG, PAM, PPM, or PGM image file.
gif2webp Convert a GIF image to WebP (including animated ones).
img2webp Create animated WebP file from a sequence of input images.
vwebp Decompress a WebP file and display it in a window using OpenGL.
webpinfo Print out the chunk level structure of WebP files along with basic integrity checks.
webpmux Create animated WebP files from non-animated WebP images, extract frames from animated WebP images, and manage XMP/EXIF metadata and ICC profile.

Documentation

brew help, man brew or check Homebrew's documentation.