CanvasBitmapSaveAsync Method (IRandomAccessStream, CanvasBitmapFileFormat, Single) |
Namespace: Microsoft.Graphics.Canvas
public IAsyncAction SaveAsync( IRandomAccessStream stream, CanvasBitmapFileFormat fileFormat, float quality )
The stream must be writeable. CanvasBitmapFileFormat.Auto is not allowed with this method.
To save image data using a high dynamic range (HDR) pixel format, use JpegXR format and provide a bitmap using one of the pixel formats: