SoftwareBitmap.Convert SoftwareBitmap.Convert SoftwareBitmap.Convert SoftwareBitmap.Convert SoftwareBitmap.Convert Method

Definition

Overloads

Convert(SoftwareBitmap, BitmapPixelFormat) Convert(SoftwareBitmap, BitmapPixelFormat) Convert(SoftwareBitmap, BitmapPixelFormat) Convert(SoftwareBitmap, BitmapPixelFormat) Convert(SoftwareBitmap, BitmapPixelFormat)

Converts an existing SoftwareBitmap to a SoftwareBitmap with a different pixel format.

Convert(SoftwareBitmap, BitmapPixelFormat, BitmapAlphaMode) Convert(SoftwareBitmap, BitmapPixelFormat, BitmapAlphaMode) Convert(SoftwareBitmap, BitmapPixelFormat, BitmapAlphaMode) Convert(SoftwareBitmap, BitmapPixelFormat, BitmapAlphaMode) Convert(SoftwareBitmap, BitmapPixelFormat, BitmapAlphaMode)

Converts an existing SoftwareBitmap to a SoftwareBitmap with a different pixel format or alpha mode.

Convert(SoftwareBitmap, BitmapPixelFormat) Convert(SoftwareBitmap, BitmapPixelFormat) Convert(SoftwareBitmap, BitmapPixelFormat) Convert(SoftwareBitmap, BitmapPixelFormat) Convert(SoftwareBitmap, BitmapPixelFormat)

Converts an existing SoftwareBitmap to a SoftwareBitmap with a different pixel format.

public : static SoftwareBitmap Convert(SoftwareBitmap source, BitmapPixelFormat format)
static SoftwareBitmap Convert(SoftwareBitmap source, BitmapPixelFormat format) const;
public static SoftwareBitmap Convert(SoftwareBitmap source, BitmapPixelFormat format)
Public Shared Function Convert(source As SoftwareBitmap, format As BitmapPixelFormat) As SoftwareBitmap
var softwareBitmap = Windows.Graphics.Imaging.SoftwareBitmap.convert(source, format);

Parameters

format
BitmapPixelFormat BitmapPixelFormat BitmapPixelFormat

The pixel format of the new software bitmap.

Returns

See also

Convert(SoftwareBitmap, BitmapPixelFormat, BitmapAlphaMode) Convert(SoftwareBitmap, BitmapPixelFormat, BitmapAlphaMode) Convert(SoftwareBitmap, BitmapPixelFormat, BitmapAlphaMode) Convert(SoftwareBitmap, BitmapPixelFormat, BitmapAlphaMode) Convert(SoftwareBitmap, BitmapPixelFormat, BitmapAlphaMode)

Converts an existing SoftwareBitmap to a SoftwareBitmap with a different pixel format or alpha mode.

public : static SoftwareBitmap Convert(SoftwareBitmap source, BitmapPixelFormat format, BitmapAlphaMode alpha)
static SoftwareBitmap Convert(SoftwareBitmap source, BitmapPixelFormat format, BitmapAlphaMode alpha) const;
public static SoftwareBitmap Convert(SoftwareBitmap source, BitmapPixelFormat format, BitmapAlphaMode alpha)
Public Shared Function Convert(source As SoftwareBitmap, format As BitmapPixelFormat, alpha As BitmapAlphaMode) As SoftwareBitmap
var softwareBitmap = Windows.Graphics.Imaging.SoftwareBitmap.convert(source, format, alpha);

Parameters

format
BitmapPixelFormat BitmapPixelFormat BitmapPixelFormat

The pixel format of the new software bitmap.

alpha
BitmapAlphaMode BitmapAlphaMode BitmapAlphaMode

The alpha mode of the new software bitmap.

Returns

See also