Loops 将某一页添加到多页tif文件和行ImageMagick的末尾
im使用windows 8.1和ImageMagick-7.0.8-11-portable-Q16-x86 我所需要的只是一个批处理文件,将某个图像添加到每个多页tif文件的末尾Loops 将某一页添加到多页tif文件和行ImageMagick的末尾,loops,append,imagemagick,add,tiff,Loops,Append,Imagemagick,Add,Tiff,im使用windows 8.1和ImageMagick-7.0.8-11-portable-Q16-x86 我所需要的只是一个批处理文件,将某个图像添加到每个多页tif文件的末尾 for example: i have a folder contain: usa.tif (1 pages) england.tif (2 page) brazil.tif (3 pages) egypt.tif (4 pages) france.tif (5 pages) xxxxx.tif
for example:
i have a folder contain:
usa.tif (1 pages)
england.tif (2 page)
brazil.tif (3 pages)
egypt.tif (4 pages)
france.tif (5 pages)
xxxxx.tif (x pages)
i want to add or append flag.png as a page to the end each tif image above
so output will be like this:
usa.tif ( 2 pages )
england.tif ( 3 pages )
brazil.tif ( 4 pages )
egypt.tif ( 5 pages )
france.tif ( 6 pages )
xxxxx.tif (x+1 pages)
附言
(此文件夹每天都会有一个新文件和新名称)
谢谢:)这将非常简单,就像
magick input.tif flag.png output.tif
理想情况下,您应该创建一个powershell脚本来迭代目录中的所有文件
Get ChildItem“C:\Full\Path\To\Files”-Filter*.tif-Exclude“output”|
Foreach对象{
$input=Get Content$\ux.FullName
$output=“output”+$input
magick.exe$input flag.png$output
}
我从来没有接触过windows平台,所以我不知道上面的示例是否有正确的语法,但它应该可以让您开始学习