Contents

VNImageCropAndScaleOption.scaleFitRotate90CCW

An option that rotates the image 90 degrees counterclockwise and then scales it, while preserving its aspect ratio, to fit on the long side.

Declaration

case scaleFitRotate90CCW

Discussion

This option optimizes portrait images to fit into landscape buffers for algorithms that are rotation agnostic, and fills the remaining space with transparent pixels.

See Also

Crop and Scale Options