Creates a zoom blur centered around a single point on the image.
- iOS 13.0+
- macOS 10.15+
- tvOS 13.0+
- Core Image
The blurred image.
This method applies the zoom blur filter to an image. This effect mimics the zoom of a camera when capturing the image.
The zoom blur filter uses the following properties:
floatrepresenting the zoom-in amount as an
A set of coordinates marking the center of the image as a
CIImagerepresenting the input image to apply the filter to.
The following code creates a filter that adds a zoom blur to the input image: