Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一堆MRC图像保存在一个文件夹中。我希望我的DM脚本能够一一阅读和处理它们。现在我只需一次打开其中的一些(如 20 张图像)并FindNextImage在我的脚本中使用以顺序处理它们。
MRC
DM
FindNextImage
我想知道我是否可以定义一个路径并让DM脚本去这个路径来MRC一张一张地读出图像。
最好的方法是使用函数 GetFilesInDirectory。发布了其使用示例以及以下问题的答案:
从文件夹中打开多个文件...
该问题的答案中给出了如何提取具有特定文件类型扩展名的文件的示例:
我怎么能打开多个图像...
特别是,仔细查看 CreateFilteredFileList 方法。