---
title: samplingLinear()
framework: coreimage
role: symbol
role_heading: Instance Method
path: coreimage/ciimage/samplinglinear()
---

# samplingLinear()

Create an image by changing the receiver’s sample mode to bilinear interpolation.

## Declaration

```swift
func samplingLinear() -> CIImage
```

## Return Value

Return Value  An autoreleased CIImage instance with a bilinear sampling.

## See Also

### Sampling the Image

- [samplingNearest()](coreimage/ciimage/samplingnearest().md)
