Load sRGB image with alpha (see bottom “shadow” image with rounded-corners in SwiftUI preview)
Use CoreImage to composite over white
Get smaller, more “pointy” version
Cause: auto-conversion from sRGB to linear sRGB inside CoreImage is not happening, but the nodes are in the tree. Changing CIContext workingColorSpace to NSNull or non-linear sRGB “fixes” it — but can’t be used for correct compositing results. 🤯? #ios#swift#coreimage