I know very little of image processing and even less of the terminology used, so please bear with me.
Basically, I want to merge two images together where one of t
http://www.imagemagick.org/Usage/compose/#dstin should do the trick, but you need to use images with alpha channels (that shouldn't be a problem).
Edit: in PHP you have to pass it (imagick::COMPOSITE_DSTIN
) as a parameter in compositeimage. Other filters in Composite Operator Constants may also be useful to you.