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 | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inNewType | AvlNet.PlainType | UInt8 | Type of the output image. Default value: UInt8. | ||
inDepthDelta | int | <-30, 30> | 0 | Pixel values will be multiplied by 2^inDepthDelta. For example, use -4 to convert 12-bit to 8-bit images. Default value: 0. | |
outImage | AvlNet.Image | Output image. |