image magick 批量转换文件

一个事例:

You can set the output file name via -set + some percent escapes
 (in this case you need the directory component of the path %d
 and the file name without extension %t):

magick convert .\*.jpg -resize 853x480! -set filename:t new_%t %[filename:t].jpg

https://unix.stackexchange.com/questions/319933/imagemagick-multiple-files-conversion-saving-with-different-name

猜你喜欢

转载自www.cnblogs.com/johnsonshu/p/10184352.html
今日推荐