magick identify -format "%f %w %h\r" *.png > info.txt
magick identify,需要安装imagemagick
-format 定义输出格式
%f 文件名
%w 宽度
%h 高度
\r 换行
*.png 图片类型
info.txt 将内容保存至info.txt,可以随意取名
magick identify -format "%f %w %h\r" *.png > info.txt
magick identify,需要安装imagemagick
-format 定义输出格式
%f 文件名
%w 宽度
%h 高度
\r 换行
*.png 图片类型
info.txt 将内容保存至info.txt,可以随意取名