You are here: Start » AVL.NET » AVL.ConvertPixelType(AvlNet.Image, AvlNet.PlainType, int, AvlNet.Image)

AVL.ConvertPixelType(AvlNet.Image, AvlNet.PlainType, int, AvlNet.Image)

Changes the type of pixel components.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void ConvertPixelType(
	AvlNet.Image inImage,
	AvlNet.PlainType inNewType,
	int inDepthDelta,
	out AvlNet.Image outImage
)

Parameters

inImage
Type: AvlNet.Image
Input image
inNewType
Type: AvlNet.PlainType
Type of the output image
inDepthDelta
Type: System.Int32
Pixel values will be multiplied by 2^inDepthDelta. For example, use -4 to convert 12-bit to 8-bit images.
outImage
Type: AvlNet.Image
Output image

See also