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

posted @ 2018-12-27 12:49  johnsonshu  阅读(489)  评论(0编辑  收藏  举报