Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save PavelJurasek/33433addeeaa602245bed9ff56f1bb23 to your computer and use it in GitHub Desktop.
Save PavelJurasek/33433addeeaa602245bed9ff56f1bb23 to your computer and use it in GitHub Desktop.
webp to png bash script
#!/bin/bash
for image in "$@"
do
NAME=`basename $image .webp`
echo $NAME
dwebp $image -o ~/Desktop/$NAME.png
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment