Page 1 of 1

Centering during composition?

Posted: 2008-09-25T11:49:21-07:00
by pwnedd
Anyone know if there is a way to center and composite one image on top of another without having to pass in the offset?
On the command line you can specify a "gravity" when using composite, but that isn't an option for Imagick's compositeImage
method.

Any ideas?

Re: Centering during composition?

Posted: 2008-10-20T13:42:11-07:00
by mkoppanen
Hi,

I guess you have to calculate the center point manually.