An option that scales an image to fit the input image dimensions while maintaining aspect ratio.
- iOS 11.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 11.0+
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.