15

I'm using

ciContext.render(overlayImg, to: pixelBuffer, bounds: bufferFrame, colorSpace: nil)

where overlayImg is an image with transparent areas. Pre-iOS10 this worked as expected, but since iOS 10 the transparent areas are black.

I don't know exactly what changed, but how can I achieve the rendering with transparency again?

10
  • Dealing with this same problem - any success?
    – mattsven
    Commented Jul 27, 2017 at 11:45
  • no, unfortunately not :( Would LOVE if you post the solution if you have one...
    – swalkner
    Commented Jul 27, 2017 at 11:53
  • Post some sample code that I can run, I will try to help you as best as I can.
    – Brandon
    Commented Jul 28, 2017 at 1:13
  • @Brandon Posted some sample code here where I'm dealing with a similar issue: stackoverflow.com/questions/45373383/…
    – mattsven
    Commented Jul 28, 2017 at 12:28
  • How are you creating your CIContext?
    – Pochi
    Commented Aug 3, 2017 at 2:32

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.