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

const CFStringRef kVTScalingMode_Letterbox;

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

kVTScalingMode_Normal

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

kVTScalingMode_CropSourceToCleanAperture

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

kVTScalingMode_Trim

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