The full width and height of the source image buffer is stretched to the full width and height of the destination image buffer.
- iOS 9.0+
- macOS 10.8+
- Mac Catalyst 13.0+Beta
- tvOS 10.2+
The source image buffer's clean aperture and pixel aspect ratio attachments are stretched the same way as the image with the image, and attached to the destination image buffer.This is the default scaling mode.
let kVTScalingMode_Letterbox: CFString
The source image buffer's clean aperture is scaled to a rectangle fitted inside the destination clean aperture that preserves the source picture aspect ratio.
let kVTScalingMode_Trim: CFString
The source image buffer's clean aperture is scaled to a rectangle that completely fills the destination clean aperture and preserves the source picture aspect ratio.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software