---
title: droste()
framework: coreimage
role: symbol
role_heading: Type Method
path: coreimage/cifilter-swift.class/droste()
---

# droste()

Stylizes an image with the Droste effect.

## Declaration

```swift
class func droste() -> any CIFilter & CIDroste
```

## Return Value

Return Value The distorted image.

## Discussion

Discussion This method applies the Droste filter to an image. This effect creates a Droste effect that distorts the image by repeating smaller versions of the same image within itself. The Droste filter uses the following properties: The following code creates a filter that results in the image becoming a repeated, scaled pattern: func drosteFilter(inputImage: CIImage) -> CIImage {     let filter = CIFilter.droste()     filter.inputImage = inputImage     filter.insetPoint1 = CGPoint(         x: inputImage.extent.size.width * 0.2,         y: inputImage.extent.size.height * 0.2     )     filter.insetPoint0 = CGPoint(         x: inputImage.extent.size.width * 0.8,         y: inputImage.extent.size.height * 0.8     )     filter.periodicity = 1     filter.rotation = 0     filter.strands = 1     filter.zoom = 1     return filter.outputImage!.cropped(to: inputImage.extent) }

## See Also

### Filters

- [bumpDistortion()](coreimage/cifilter-swift.class/bumpdistortion().md)
- [bumpDistortionLinear()](coreimage/cifilter-swift.class/bumpdistortionlinear().md)
- [circleSplashDistortion()](coreimage/cifilter-swift.class/circlesplashdistortion().md)
- [circularWrap()](coreimage/cifilter-swift.class/circularwrap().md)
- [displacementDistortion()](coreimage/cifilter-swift.class/displacementdistortion().md)
- [glassDistortion()](coreimage/cifilter-swift.class/glassdistortion().md)
- [glassLozenge()](coreimage/cifilter-swift.class/glasslozenge().md)
- [holeDistortion()](coreimage/cifilter-swift.class/holedistortion().md)
- [lightTunnel()](coreimage/cifilter-swift.class/lighttunnel().md)
- [ninePartStretched()](coreimage/cifilter-swift.class/ninepartstretched().md)
- [ninePartTiled()](coreimage/cifilter-swift.class/nineparttiled().md)
- [pinchDistortion()](coreimage/cifilter-swift.class/pinchdistortion().md)
- [stretchCrop()](coreimage/cifilter-swift.class/stretchcrop().md)
- [torusLensDistortion()](coreimage/cifilter-swift.class/toruslensdistortion().md)
- [twirlDistortion()](coreimage/cifilter-swift.class/twirldistortion().md)
