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

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

Parameters

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

Return Value

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