Mathematica中文论坛-非官方
标题:
linux bat cut white border/edge convert imagetick
[打印本页]
作者:
meatball1982
时间:
2021-5-17 21:55
标题:
linux bat cut white border/edge convert imagetick
convert
input
.png
-trim
+
repage
output
.png
for na in `ls *.png`
do
echo $na
convert ${na} -trim +repage cut_${na}
done
复制代码
得先安装
imagemagick
好用。
欢迎光临 Mathematica中文论坛-非官方 (http://ilovemathematica.com/)
Powered by Discuz! X3.2