Dress/KagurazakaYashi/src/c1920webp.sh

2 lines
165 B
Bash
Raw Normal View History

# 在原始高清文件夹下运行,压制 webp 图片
for file in *.jpg; do echo $file ${file%%.*}.webp; convert -resize 1920x1920 $file ../${file%%.*}.webp; done