Using a transparent PNG as a clip mask

前端 未结 3 1468
难免孤独
难免孤独 2020-12-16 03:23

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

3条回答
  •  自闭症患者
    2020-12-16 03:34

    I think you are looking for imagealphablending. I use it for watermarks, and I believe it will do the effect you are looking for.

提交回复
热议问题