Click or drag to resize

BitmapImageCreateFrom8bpp Method

Create image based on 8 bpp grey scale raw data.

Namespace:  CohesiveComputing.Imaging
Assembly:  CohesiveComputing.BatchImagePro (in CohesiveComputing.BatchImagePro.dll) Version: 1.0.0
Syntax
C#
public static IBitmapImage CreateFrom8bpp(
	byte[] imageData,
	int width,
	int height,
	bool isTopDown,
	int dpi
)

Parameters

imageData
Type: SystemByte
Image data.
width
Type: SystemInt32
Image width.
height
Type: SystemInt32
Image height.
isTopDown
Type: SystemBoolean
True if image data is stored top down.
dpi
Type: SystemInt32
Image dots-per-inch.

Return Value

Type: IBitmapImage
A new image instance.
See Also