-api-id | -api-type |
---|---|
M:Windows.Graphics.Imaging.SoftwareBitmap.CreateCopyFromBuffer(Windows.Storage.Streams.IBuffer,Windows.Graphics.Imaging.BitmapPixelFormat,System.Int32,System.Int32,Windows.Graphics.Imaging.BitmapAlphaMode) |
winrt method |
Creates a new SoftwareBitmap by performing a deep copy of the provided buffer. Modifications to the data in the new SoftwareBitmap will not effect the buffer from which it was created.
The source buffer from which the copy will be created.
The pixel format of the software bitmap.
The width of the software bitmap, in pixels.
The height of the software bitmap, in pixels.
The alpha mode of the software bitmap.
The new software bitmap.
CreateCopyFromBuffer(IBuffer, BitmapPixelFormat, Int32, Int32)