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

# pointillize()

Applies a pointillize effect to an image.

## Declaration

```swift
class func pointillize() -> any CIFilter & CIPointillize
```

## Return Value

Return Value A CIImage containing the pointillized image.

## Discussion

Discussion This filter applies a pointillize effect to an image. The effect generates an output image made of small, single-color, circular points distributed on a randomly perturbed grid. The pointillize filter uses the following properties: The following code applies the pointillize filter with a radius of 40 pixels. func pointillize(inputImage: CIImage) -> CIImage {     let pointillizeFilter = CIFilter.pointillize()     pointillizeFilter.inputImage = inputImage     pointillizeFilter.radius = 40     pointillizeFilter.center = CGPoint(x: 0,y: 0)     return pointillizeFilter.outputImage! }

## See Also

### Filters

- [blendWithAlphaMask()](coreimage/cifilter-swift.class/blendwithalphamask().md)
- [blendWithBlueMask()](coreimage/cifilter-swift.class/blendwithbluemask().md)
- [blendWithMask()](coreimage/cifilter-swift.class/blendwithmask().md)
- [blendWithRedMask()](coreimage/cifilter-swift.class/blendwithredmask().md)
- [bloom()](coreimage/cifilter-swift.class/bloom().md)
- [cannyEdgeDetector()](coreimage/cifilter-swift.class/cannyedgedetector().md)
- [comicEffect()](coreimage/cifilter-swift.class/comiceffect().md)
- [coreMLModel()](coreimage/cifilter-swift.class/coremlmodel().md)
- [crystallize()](coreimage/cifilter-swift.class/crystallize().md)
- [depthOfField()](coreimage/cifilter-swift.class/depthoffield().md)
- [edges()](coreimage/cifilter-swift.class/edges().md)
- [edgeWork()](coreimage/cifilter-swift.class/edgework().md)
- [gaborGradients()](coreimage/cifilter-swift.class/gaborgradients().md)
- [gloom()](coreimage/cifilter-swift.class/gloom().md)
- [heightFieldFromMask()](coreimage/cifilter-swift.class/heightfieldfrommask().md)
