---
title: kVTScalingMode_Trim
framework: videotoolbox
role: symbol
role_heading: Global Variable
path: videotoolbox/kvtscalingmode_trim
---

# 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.

## Declaration

```swift
let kVTScalingMode_Trim: CFString
```

## Discussion

Discussion 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](videotoolbox/kvtscalingmode_normal.md)
- [kVTScalingMode_CropSourceToCleanAperture](videotoolbox/kvtscalingmode_cropsourcetocleanaperture.md)
- [kVTScalingMode_Letterbox](videotoolbox/kvtscalingmode_letterbox.md)
