Structure

AVAssetImageGenerator.ApertureMode

The aperture modes used when generating images.

Declaration

struct ApertureMode

Topics

Aperture Modes

static let cleanAperture: AVAssetImageGenerator.ApertureMode

Both pixel aspect ratio and clean aperture will be applied.

static let encodedPixels: AVAssetImageGenerator.ApertureMode

Neither pixel aspect ratio nor clean aperture will be applied.

Relationships

See Also

Configuring Image-Generation Behavior

var apertureMode: AVAssetImageGenerator.ApertureMode?

Specifies the aperture mode for the generated image.

var appliesPreferredTrackTransform: Bool

Specifies whether to apply the track matrix, or matrices. when extracting an image from the asset.

var asset: AVAsset

The asset that initialized the image generator.

var maximumSize: CGSize

Specifies the maximum dimensions for the generated image.

var videoComposition: AVVideoComposition?

The video composition to use when extracting images from assets with multiple video tracks.

var customVideoCompositor: AVVideoCompositing?

Returns the custom video compositor instance used, if any.