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

# bicubicScaleTransform()

Produces a high-quality scaled version of an image.

## Declaration

```swift
class func bicubicScaleTransform() -> any CIFilter & CIBicubicScaleTransform
```

## Return Value

Return Value The adjusted image.

## Discussion

Discussion This method applies the bicubic scale transform filter to an image. The effect produces a high-quality, scaled version of the input image. The parameters of B and C determine the sharpness and softness of the resampling. The bicubic scale transform filter uses the following properties: The following code creates a filter that results in the image becoming square: func bicubicScale(inputImage: CIImage) -> CIImage {     let bicubicScaleFilter = CIFilter.bicubicScaleTransform()     bicubicScaleFilter.inputImage = inputImage     bicubicScaleFilter.aspectRatio = 0.7     bicubicScaleFilter.parameterB = 1     bicubicScaleFilter.parameterC = 0.75     return bicubicScaleFilter.outputImage! }

## See Also

### Filters

- [edgePreserveUpsample()](coreimage/cifilter-swift.class/edgepreserveupsample().md)
- [keystoneCorrectionCombined()](coreimage/cifilter-swift.class/keystonecorrectioncombined().md)
- [keystoneCorrectionHorizontal()](coreimage/cifilter-swift.class/keystonecorrectionhorizontal().md)
- [keystoneCorrectionVertical()](coreimage/cifilter-swift.class/keystonecorrectionvertical().md)
- [lanczosScaleTransform()](coreimage/cifilter-swift.class/lanczosscaletransform().md)
- [perspectiveCorrection()](coreimage/cifilter-swift.class/perspectivecorrection().md)
- [perspectiveRotate()](coreimage/cifilter-swift.class/perspectiverotate().md)
- [perspectiveTransform()](coreimage/cifilter-swift.class/perspectivetransform().md)
- [perspectiveTransformWithExtent()](coreimage/cifilter-swift.class/perspectivetransformwithextent().md)
- [straighten()](coreimage/cifilter-swift.class/straighten().md)
