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

# whitePointAdjust()

Adjusts the image’s white-point.

## Declaration

```swift
class func whitePointAdjust() -> any CIFilter & CIWhitePointAdjust
```

## Return Value

Return Value The modified image.

## Discussion

Discussion This method applies the white-point adjust filter to an image. The effect adjusts the white-point of the input image by mapping all shades of gray to shades of the color property. The white-point adjust filter uses the following properties: The following code creates a filter that adds a red hue to the input image: func whitePoint(inputImage: CIImage) -> CIImage {     let whitePointFilter = CIFilter.whitePointAdjust()     whitePointFilter.inputImage = inputImage     whitePointFilter.color = CIColor(red: 1, green: 0.6, blue: 0.6, alpha: 1)     return whitePointFilter.outputImage! }

## See Also

### Filters

- [colorAbsoluteDifference()](coreimage/cifilter-swift.class/colorabsolutedifference().md)
- [colorClamp()](coreimage/cifilter-swift.class/colorclamp().md)
- [colorControls()](coreimage/cifilter-swift.class/colorcontrols().md)
- [colorMatrix()](coreimage/cifilter-swift.class/colormatrix().md)
- [colorPolynomial()](coreimage/cifilter-swift.class/colorpolynomial().md)
- [colorThreshold()](coreimage/cifilter-swift.class/colorthreshold().md)
- [colorThresholdOtsu()](coreimage/cifilter-swift.class/colorthresholdotsu().md)
- [depthToDisparity()](coreimage/cifilter-swift.class/depthtodisparity().md)
- [disparityToDepth()](coreimage/cifilter-swift.class/disparitytodepth().md)
- [exposureAdjust()](coreimage/cifilter-swift.class/exposureadjust().md)
- [gammaAdjust()](coreimage/cifilter-swift.class/gammaadjust().md)
- [hueAdjust()](coreimage/cifilter-swift.class/hueadjust().md)
- [linearToSRGBToneCurve()](coreimage/cifilter-swift.class/lineartosrgbtonecurve().md)
- [sRGBToneCurveToLinear()](coreimage/cifilter-swift.class/srgbtonecurvetolinear().md)
- [temperatureAndTint()](coreimage/cifilter-swift.class/temperatureandtint().md)
