IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
This command works good if both images png. But when the main image is a gif, it doesn't. The geometry option put the image in the right place, but in it's original size without resize it.
I've been checking http://www.imagemagick.org/script/comma ... p#geometry
-geometry is a setting not an operator. So it won't do anything unless an operator that knows about it follows. In this case, you really needed to do a resize and then a page offset.