e352f42
1 2 3 4 5 6
#!/bin/sh [ -z "$1" ] && exit 1 basename=${1%.*} basename=${basename##*/} magick "$1" -resize 480x ./assets/"$basename".png magick ./assets/"$basename".png ./assets/"$basename".webp