Click or drag to resize
ImageToolsGrayToRgb24 Method
Converts an 8-bit gray scale image to a 24-bit image.

Namespace: StreamCoders.Imaging
Assembly: MediaSuite (in MediaSuite.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax
public static bool GrayToRgb24(
	PictureMediaBuffer inputBuffer,
	PictureMediaBuffer outputBuffer
)

Parameters

inputBuffer
Type: StreamCodersPictureMediaBuffer
Input buffer containing 8-bit gray scale image.
outputBuffer
Type: StreamCodersPictureMediaBuffer
[in,out] Pre-allocated buffer required for RGB-24 image.

Return Value

Type: Boolean
true if it succeeds, false if it fails.
See Also