---
title: "depthBlurEffectFilter(forImageURL:options:)"
framework: coreimage
role: symbol
role_heading: Instance Method
path: "coreimage/cicontext/depthblureffectfilter(forimageurl:options:)"
---

# depthBlurEffectFilter(forImageURL:options:)

Create a CIFilter instance for the supplied image URL that can be used to apply a depth blur effect.

## Declaration

```swift
func depthBlurEffectFilter(forImageURL url: URL, options: [AnyHashable : Any]? = nil) -> CIFilter?
```

## Parameters

- `url`: The URL location of the image to apply the depth blur effect to.
- `options`: Reserved for future use.

## Discussion

Discussion The receiver context is used to render the image in order to get the facial landmarks used to create the effect.

## See Also

### Creating Depth Blur Filters

- [depthBlurEffectFilter(for:disparityImage:portraitEffectsMatte:hairSemanticSegmentation:glassesMatte:gainMap:orientation:options:)](coreimage/cicontext/depthblureffectfilter(for:disparityimage:portraiteffectsmatte:hairsemanticsegmentation:glassesmatte:gainmap:orientation:options:).md)
- [depthBlurEffectFilter(for:disparityImage:portraitEffectsMatte:hairSemanticSegmentation:orientation:options:)](coreimage/cicontext/depthblureffectfilter(for:disparityimage:portraiteffectsmatte:hairsemanticsegmentation:orientation:options:).md)
- [depthBlurEffectFilter(for:disparityImage:portraitEffectsMatte:orientation:options:)](coreimage/cicontext/depthblureffectfilter(for:disparityimage:portraiteffectsmatte:orientation:options:).md)
- [depthBlurEffectFilter(forImageData:options:)](coreimage/cicontext/depthblureffectfilter(forimagedata:options:).md)
