Click or drag to resize

WpfConverterAtalaToWpfPixelFormat Method

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

Namespace:  Atalasoft.Imaging.Wpf
Assembly:  Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public static PixelFormat AtalaToWpfPixelFormat(
	PixelFormat atalaFormat
)

Parameters

atalaFormat
Type: Atalasoft.ImagingPixelFormat
The Atalasoft.Imaging.PixelFormat to convert.

Return Value

Type: PixelFormat
The equivalent System.Windows.Media.PixelFormat.
Exceptions
ExceptionCondition
Thrown if there is no equivalent format.
See Also