Click or drag to resize
BitmapConverterInit Method

Namespace: Ozeki.Media
Assembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax
public void Init(
	int width,
	int height,
	PixelFormat format = PixelFormat.Format24bppRgb,
	ColorPalette indexedFormatPalette = null
)

Parameters

width
Type: SystemInt32
Width of the picture
height
Type: SystemInt32
Height of the picture
format (Optional)
Type: System.Drawing.ImagingPixelFormat
Pixelformat of the picture. The supported formats are: Format24bppRgb, Format32bppArgb, Format8bppIndexed
indexedFormatPalette (Optional)
Type: System.Drawing.ImagingColorPalette
If the format is Format8bppIndexed the byte array will contain color palette indexes so we need the proper color palette for the image.
See Also