Click or drag to resize
PictureMediaBufferCreateFromTemplate Method (Int32, Int32, PictureFormat)
Creates a PictureMediaBuffer given resolution and format. The OffsetBuffer will also be allocated.

Namespace: StreamCoders
Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax
public static PictureMediaBuffer CreateFromTemplate(
	int width,
	int height,
	PictureFormat format
)

Parameters

width
Type: SystemInt32
Width of picture.
height
Type: SystemInt32
Height of picture.
format
Type: StreamCodersPictureFormat
Format of Picture.

Return Value

Type: PictureMediaBuffer
Returns a new instance of PictureMediaBuffer.
See Also