假设我有很多jpg文件都有这种格式:X-Y.jpg而X和Y是从0到99的数字,并且还定义了自己在最终图像中的位置。
现在我已经尝试过这个命令从那些瓷砖中创建一个图像。
montage.exe -tile 99x99 @D:\img\list.txt D:\output\out.jpg
但它没有正确扩展我的图像文件列表。
montage.exe: unable to open image '@D:D:\input\0-59.jpg': Invalid argument @ error/blob.c/OpenBlob/3489.
以下是imagemagick手册的参考资料,其中表示对于大量文件,您可以通过“@ in.txt”读取特定文件中的输入文件列表:http://www.imagemagick.org/script/command-line-processing.php#input
感谢来自https://www.imagemagick.org/discourse-server的用户snibgo帮我提示。