Global Variable

kVTScalingMode_Letterbox

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.

Declaration

let kVTScalingMode_Letterbox: CFString

Discussion

The remainder of the destination image buffer is filled with black. If a destination pixel aspect ratio is not set, the source image's pixel aspect ratio is used. The pixel aspect ratio used is set on the destination image buffer.

See Also

Scaling Modes

let kVTScalingMode_Normal: CFString

The full width and height of the source image buffer is stretched to the full width and height of the destination image buffer.

let kVTScalingMode_CropSourceToCleanAperture: CFString

The source image buffer's clean aperture is scaled to the destination clean aperture.

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.

Beta Software

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