简体   繁体   English

使用Mac命令行工具将一个图像插入另一个图像

[英]Insert one image into another using a mac command line tool

I've been looking various options to allow me to automate processing of some images. 我一直在寻找各种选项来允许我自动处理某些图像。

I've looked at sips, which doesn't seem to provide an option for this. 我看过饮酒,似乎没有为此提供选择。

Also I've considered writing a mac app to do this, however I can't find much example code which would do everything I need. 我也考虑过编写一个Mac应用程序来做到这一点,但是我找不到太多可以满足我所有需求的示例代码。

I've also looked at ImageMagik which seems to have this feature, but I can't find an example. 我也查看了似乎具有此功能的ImageMagik,但找不到示例。

I wondered if anyone had acheived this and if do, could point me at an example. 我想知道是否有人做到这一点,如果可以做到,可以给我一个例子。 Alternatively a different tool which would allow me to do this? 或者,可以使用其他工具执行此操作吗?

Failing this a good source of mac cocoa source which would help me. 未能提供Mac Cocoa来源的良好来源会对我有所帮助。

http://www.imagemagick.org/Usage/compose/这里有很多示例-例如

     composite -compose Copy -gravity South  hand_point.gif   rose:   -alpha set   compose_copy.gif

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM