MacOS and Swift 3 - how to pass result from one filter to another
问题 Expanding question from this thread. I'm not sure how to pass the result from CIAffineClamp as a source for CIGaussianBlur . The following code builds just fine but does not yield a resulting image. guard let blurFilter = CIFilter(name: "CIGaussianBlur"), let clampFilter = CIFilter(name: "CIAffineClamp"), let imageURL = Bundle.main.url(forResource: "my-image", withExtension: "png"), let ciImage = CIImage(contentsOf: imageURL) else { return } let transform = AffineTransform.identity