Page 1 of 1

Re: Compose problems...

Posted: 2007-07-02T10:46:16-07:00
by Bonzo
With the -geometry you just need -geometry +4+4

Try

Code: Select all

composite -geometry +4+4 polaroid-overlay.png photo.png photo.png 

Re: Compose problems...

Posted: 2007-07-02T21:13:01-07:00
by anthony
Sorry that will not work.

In this case the 'overlay' is the larger image, so should be the destination image (whcih determines the final size of the results). The -geometry can be used to offset the other image which should be 'underlayed' using a 'DstOver' -compose method. Altrunativeally you can use -gravity center to center the image 'under' the destination 'overlay'.