Creating mask with CGImageMaskCreate is all black (iphone)

后端 未结 3 964
猫巷女王i
猫巷女王i 2020-12-23 08:51

I\'m trying to create an image mask that from a composite of two existing images.

First I start with creating the composite which consists of a small image that is t

3条回答
  •  春和景丽
    2020-12-23 09:19

    The image to be masked MUST be created with an alpha channel. The Alpha channel may not be created from the code.

提交回复
热议问题