Enumeration Case

VNImageCropAndScaleOptionCenterCrop

A scaling option that maintains aspect ratio to fit the short side, and crops the centered image on its long side.

Declaration

VNImageCropAndScaleOptionCenterCrop = 0

See Also

Crop and Scale Options

VNImageCropAndScaleOptionScaleFit

An option that scales an image to fit the input image dimensions while maintaining aspect ratio.

VNImageCropAndScaleOptionScaleFill

A scaling option that scales an image proportionally so that its shorter dimension fills the canvas, potentially cropping along the longer dimension.