Skip to content

Instantly share code, notes, and snippets.

Sebastian Strindlund sebstr1

Block or report user

Report or block sebstr1

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View webp_batch.sh
#!/bin/bash
# Batch Convert all images in folder to webp.
# Create .sh file, paste this into the file, make it executable and run it; "./webp_batch.sh /path/to/folder/"
PATH=/usr/local/bin:/usr/bin:/bin
PARAMS=('cwebp -q 75 -alpha_q 10') # -alpha_q 10 is for images with transparent background
cd $1 || exit 1
You can’t perform that action at this time.