BitmapSource Constructor (Image, Int32, Int32, HighBitScaleMode)

CVB.Net Documentation
Creates a BitmapSource from the given source image.

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

public BitmapSource(
	Image source,
	int maxDecodePixelWidth = 0,
	int maxDecodePixelHeight = 0,
	HighBitScaleMode highBitScaleMode = HighBitScaleMode.Default
)

Parameters

source
Type: Stemmer.CvbImage
Source image.
maxDecodePixelWidth (Optional)
Type: SystemInt32
Maximal decode pixel width; 0 for default.
maxDecodePixelHeight (Optional)
Type: SystemInt32
Maximal decode pixel height; 0 for default.
highBitScaleMode (Optional)
Type: Stemmer.CvbHighBitScaleMode
The HighBitScaleMode to use for non-8bpp images.
See Also

Reference