BitmapConverterInit Method |
Namespace: Ozeki.MediaAssembly: 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
)
Public Sub Init (
width As Integer,
height As Integer,
Optional format As PixelFormat = PixelFormat.Format24bppRgb,
Optional indexedFormatPalette As ColorPalette = Nothing
)
public:
void Init(
int width,
int height,
PixelFormat format = PixelFormat::Format24bppRgb,
ColorPalette^ indexedFormatPalette = nullptr
)
member Init :
width : int *
height : int *
?format : PixelFormat *
?indexedFormatPalette : ColorPalette
(* Defaults:
let _format = defaultArg format PixelFormat.Format24bppRgb
let _indexedFormatPalette = defaultArg indexedFormatPalette null
*)
-> unit
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