Windows.Graphics.Imaging.BitmapEncoder.CreateAsync

September 2, 2020 ยท View on GitHub

-description

Asynchronously creates a new BitmapEncoder for the specified codec with the specified encoding options and initializes it on a stream.

-parameters

-param encoderId

The unique identifier of the specified encoder.

-param stream

A stream representing where the image file is to be written.

-param encodingOptions

A collection of key-value pairs containing one or more codec-specific encoding options and the desired values.

-returns

An object that manages the asynchronous creation of a new BitmapEncoder.

-remarks

-examples

-see-also

BitmapPropertySet, BitmapTypedValue, Imaging, CreateAsync(Guid, IRandomAccessStream)