Files
userstyles/docs/tips-and-tricks/convert-images-to-webp.md
T

1.3 KiB

The Catppuccin project prefers to use the WebP image format for the asset preview images. We recommend using Google's cwebp conversion utility to convert images to WebP.

Installation

Method Instructions
Homebrew brew install webp [view cask]
MacPorts sudo port install webp [view port]
Binaries See https://storage.googleapis.com/downloads.webmproject.org/releases/webp/index.html.

Usage

Tip

See the full documentation on cwebp for further reference.

cwebp -lossless old-image.png -o new-image.webp

The command above is converting the input image old-image.png to the output file new-image-webp, with a lossless quality conversion.