You are here: Start » AVL.NET » AVS.ConvertPixelType Method

AVS.ConvertPixelType Method

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,
	AvlNet.Image outImage
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inNewTypeAvlNet.PlainTypeUInt8Type of the output image. Default value: UInt8.
inDepthDeltaint<-30, 30>0Pixel values will be multiplied by 2^inDepthDelta. For example, use -4 to convert 12-bit to 8-bit images. Default value: 0.
outImageAvlNet.ImageOutput image.

Function Overrides

See also