Page 1 of 1

Combining Images with offset

Posted: 2012-07-13T01:01:00-07:00
by johnfl68
Hello:

I am trying to add some icons to a large image that I have also done some Annotations to , and I want to place the icons at specific locations.

I have tried composite the image with compose over with geometry, with gravity and geometry, etc., and the image is never anywhere that makes sense to what I am putting in.

What is the best way to go about this?

Any suggestions?

Thanks!

John

Re: Combining Images with offset

Posted: 2012-07-13T03:33:11-07:00
by johnfl68
On this page, a little ways down:

http://www.imagemagick.org/Usage/annotating/

I found this example for positioning sub-images, using this:

Code: Select all

composite -geometry +31+105  hand_point.gif dragon.gif \
            dragon_claw_pointed.jpg
I'm just not exactly sure how to translate that to perl now.

Re: Combining Images with offset

Posted: 2012-07-18T00:03:56-07:00
by anthony
The Composite function will take the X,Y offset directly.