---
title: cropAndScaleAction
framework: vision
role: symbol
role_heading: Instance Property
path: vision/classifyimagerequest/cropandscaleaction
---

# cropAndScaleAction

An optional setting that tells the algorithm how to scale an input image before generating the result.

## Declaration

```swift
var cropAndScaleAction: ImageCropAndScaleAction
```

## See Also

### Configuring a request

- [ImageCropAndScaleAction](vision/imagecropandscaleaction.md)
- [supportedIdentifiers](vision/classifyimagerequest/supportedidentifiers.md)
