Skip to content

Instantly share code, notes, and snippets.

View sebstr1's full-sized avatar

Sebastian Strindlund sebstr1

View GitHub Profile
# Batch Convert all images in folder to webp.
# Create .sh file, paste this into the file, make it executable and run it; "./ /path/to/folder/"
PARAMS=('cwebp -q 75 -alpha_q 10') # -alpha_q 10 is for images with transparent background
cd $1 || exit 1