Platforms to show: All Mac Windows Linux Cross-Platform
Back to VNGenerateImageFeaturePrintRequestMBS class.
VNGenerateImageFeaturePrintRequestMBS.VNImageCropAndScaleOptionCenterCrop = 0
Type | Topic | Plugin | Version |
const | Vision | MBS MacFrameworks Plugin | 19.4 |
A scaling option that maintains aspect ratio to fit the short side, and crops the centered image on its long side.
VNGenerateImageFeaturePrintRequestMBS.VNImageCropAndScaleOptionScaleFill = 2
Type | Topic | Plugin | Version |
const | Vision | MBS MacFrameworks Plugin | 19.4 |
A scaling option that scales an image proportionally so that its shorter dimension fills the canvas, potentially cropping along the longer dimension.
VNGenerateImageFeaturePrintRequestMBS.VNImageCropAndScaleOptionScaleFit = 1
Type | Topic | Plugin | Version |
const | Vision | MBS MacFrameworks Plugin | 19.4 |
An option that scales an image to fit the input image dimensions while maintaining aspect ratio.
This option ensures the entire image fits into the Vision algorithm's input image dimensions by scaling down the longer dimension until it fits. This option pads the image along the shorter dimension to maintain aspect ratio.
The items on this page are in the following plugins: MBS MacFrameworks Plugin.