macoscocoaimagemagicksips

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.

I've also looked at ImageMagik which seems to have this feature, but I can't find an example.

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.


Solution

  • Lots of examples here http://www.imagemagick.org/Usage/compose/ - for example

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