Click or drag to resize

WpfConverterBitmapSourceToAtalaImage Method

Converts a BitmapSource to an AtalaImage.

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 AtalaImage BitmapSourceToAtalaImage(
	BitmapSource bitmapSource
)

Parameters

bitmapSource
Type: System.Windows.Media.ImagingBitmapSource
The BitmapSource to convert.

Return Value

Type: AtalaImage
A copy of the image as an AtalaImage object.
Remarks
The image data is copied from the BitmapSource. After processing the AtalaImage, a new BitmapSource can be created from the AtalaImageToBitmapSource(AtalaImage) method.
See Also