---
title: ImageCropAndScaleAction.scaleToFitPlus90CCWRotation
framework: vision
role: symbol
role_heading: Case
path: vision/imagecropandscaleaction/scaletofitplus90ccwrotation
---

# ImageCropAndScaleAction.scaleToFitPlus90CCWRotation

An action that scales the image and maintains the aspect ratio to fit on the long side, and rotates the image by 90 degrees counter clockwise.

## Declaration

```swift
case scaleToFitPlus90CCWRotation
```

## Discussion

Discussion Rotation helps to optimize portrait images fit into landscape buffers for algorithms that are rotation agnostic.

## See Also

### Getting the actions

- [ImageCropAndScaleAction.centerCrop](vision/imagecropandscaleaction/centercrop.md)
- [ImageCropAndScaleAction.scaleToFit](vision/imagecropandscaleaction/scaletofit.md)
- [ImageCropAndScaleAction.scaleToFill](vision/imagecropandscaleaction/scaletofill.md)
- [ImageCropAndScaleAction.scaleToFillPlus90CCWRotation](vision/imagecropandscaleaction/scaletofillplus90ccwrotation.md)
