Hi, very excited to use the framework but I'm running into an issue. I'm using AVPortraitEffectsMatte to generate a "cutout" of a picture. It uses the CIFilter below
Then I apply a filter like such:
The cutout works great but when I go to add a simple filter like Brightness, the background no longer stays transparent, as seen with the images below. I've tried using a UIImageView as well as a RenderView.
Before:
After:
Is there anything I can do on either end (masking or adding filters) to keep that transparency? I'm planning to do some real time filtering as well as one time outputs. Edit: This also happens with any PNG photo that has a transparency.
Hi, very excited to use the framework but I'm running into an issue. I'm using AVPortraitEffectsMatte to generate a "cutout" of a picture. It uses the CIFilter below
Then I apply a filter like such:
The cutout works great but when I go to add a simple filter like Brightness, the background no longer stays transparent, as seen with the images below. I've tried using a UIImageView as well as a RenderView.
Before:![before](https://user-images.githubusercontent.com/5865896/62073678-d08d9b80-b206-11e9-9890-a148df4c9953.jpg)
After:![after](https://user-images.githubusercontent.com/5865896/62073695-dbe0c700-b206-11e9-96f1-8ca39e0a0567.jpg)
Is there anything I can do on either end (masking or adding filters) to keep that transparency? I'm planning to do some real time filtering as well as one time outputs. Edit: This also happens with any PNG photo that has a transparency.