for %%f in ("目标目录\*.jpg") do (
magick mogrify -font %windir%\fonts\msyh.ttf -pointsize 50 -fill white -weight bolder -gravity southwest -annotate +20-50 @文本内容.txt %%f
)
magick montage "%source%\*.jpg" -tile %tile% -quality 80 -geometry -0-0 "result.jpg"
magick convert -resize 900 -quality 80 "源文件.jpg" "输出文件.jpg"