Global Variable

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.

Declaration

let kVTScalingMode_Normal: CFString

Discussion

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.

See Also

Scaling Modes

let kVTScalingMode_CropSourceToCleanAperture: CFString

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

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.

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