ImageExtensionsToBitmapSource Method (Image)

CVB.Net Documentation
Convert this Cvb image into a bmData source of identical size, using default conversion for high bit images.

Namespace:  Stemmer.Cvb.Wpf
Assembly:  Stemmer.Cvb.Wpf (in Stemmer.Cvb.Wpf.dll) Version: 14.0.0.0
Syntax

public static BitmapSource ToBitmapSource(
	this Image img
)

Parameters

img
Type: Stemmer.CvbImage
image to be converted

Return Value

Type: BitmapSource
bitmap source result

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Image. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also

Reference