ImageMagick-将一张图像叠加到许多图像
我有一个标有:test.png和img000.png-img480.png的图像文件夹,
如何单独覆盖test.png到每个imgxxx.png?
当前“ magick test.png img000.png- compose compose composite result.png”适用于单个.png,我不确定所有这些都可以/如果如何使用Mogrify。
任何帮助都非常感谢(非AmageMagick解决方案也很棒!)谢谢:)
I have a folder of images labelled: test.png and img000.png-img480.png
How can I overlay test.png onto every imgxxx.png individually?
Currently "magick test.png img000.png -compose over -composite result.png" works for a single .png, and I'm not sure how/if mogrify can be used for all of them.
Any help is greatly appreciated (non-imagemagick solutions would also be great!) thanks :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在单独的目录中复制一些测试文件,然后切换到该目录并尝试以下操作:
180,100
指定绘制位置,0,0
表示使用test.png
的当前大小,即不调整大小。您可以更改混合模式(即此处的Over
)以获得不同的效果。获取可用混合模式的列表:如果您希望将结果写入名为
RESULTS
的不同目录中,请使用:Make a copy of a few test files in a separate directory then change to that directory and try this:
The
180,100
specifies where it will be drawn, and the0,0
says to use the current size oftest.png
, i.e. no resizing. You can change the blend mode (i.e.Over
here) for different effects. Get a list of available blend modes with:If you would like the results written in a different directory called
RESULTS
, use: