Click or drag to resize

WpfConverterWpfToAtalaPixelFormat Method

Converts an System.Windows.Media.PixelFormat to a Atalasoft.Imaging.PixelFormat equivalent.

Namespace:  Atalasoft.Imaging.Wpf
Assembly:  Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public static PixelFormat WpfToAtalaPixelFormat(
	PixelFormat wpfFormat
)

Parameters

wpfFormat
Type: System.Windows.MediaPixelFormat
The System.Windows.Media.PixelFormat to convert.

Return Value

Type: PixelFormat
The equivalent Atalasoft.Imaging.PixelFormat.
Exceptions
ExceptionCondition
Thrown if there is no equivalent format.
See Also