Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.92 KB

mediacomposition_getthumbnailsasync_1189062213.md

File metadata and controls

38 lines (26 loc) · 1.92 KB
-api-id -api-type
M:Windows.Media.Editing.MediaComposition.GetThumbnailsAsync(Windows.Foundation.Collections.IIterable{Windows.Foundation.TimeSpan},System.Int32,System.Int32,Windows.Media.Editing.VideoFramePrecision)
winrt method

Windows.Media.Editing.MediaComposition.GetThumbnailsAsync

-description

Asynchronously gets a vector view of thumbnails of the media composition.

-parameters

-param timesFromStart

Specifies the points in the timeline of the MediaComposition from which to render the thumbnails, offset from the start of the MediaComposition.

-param scaledWidth

Specifies the target width at which to render. The default is 0. scaledWidth and/or scaledHeight can be optional; see Remarks.

-param scaledHeight

Specifies the target height at which to render. The default is 0. scaledWidth and/or scaledHeight can be optional; see Remarks.

-param framePrecision

Specifies the frame precision algorithm to use when retrieving the thumbnails.

-returns

A vector view on the resulting thumbnails.

-remarks

If scaledWidth and scaledHeight are both set, the aspect ratio of the original MediaComposition is ignored, and your values can alter the aspect ratio.

If either scaledWidth or scaledHeight but not both is specified, the value you provide controls that dimension but the aspect ratio is preserved (the other dimension is calculated based on factoring the original aspect ratio of the MediaComposition).

-examples

-see-also