image magick 批量转换文件

Posted johnsonshu

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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

以上是关于image magick 批量转换文件的主要内容,如果未能解决你的问题,请参考以下文章