VNGenerateImageFeaturePrintRequestMBS constants

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

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
One of the different ways Vision can crop and scale an input image.

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
One of the different ways Vision can crop and scale an input image.

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
One of the different ways Vision can crop and scale an input image.

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.


💬 Ask a question or report a problem