Is it possible to take this image:
And apply this mask:
And turn it into this:
Using either GD or Imagick? I know it\'s
I think you are looking for imagealphablending. I use it for watermarks, and I believe it will do the effect you are looking for.