Contents

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

case scaleToFitPlus90CCWRotation

Discussion

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

See Also

Getting the actions