LMImgCapSrcPixelFormat Constants

Summary

Specifies the pixel color format for an ILMImgCapSrcBitmap supported bitmap.

Syntax

typedef enum LMImgCapSrcPixelFormat 
{ 
   LMImgCapSrcPixelFormat_16bppRGB555 = 0x00021005, 
   LMImgCapSrcPixelFormat_16bppRGB565 = 0x00021006, 
   LMImgCapSrcPixelFormat_16bppARGB1555 = 0x00061007, 
   LMImgCapSrcPixelFormat_24bppRGB = 0x00031808, 
   LMImgCapSrcPixelFormat_32bppRGB = 0x00032009, 
   LMImgCapSrcPixelFormat_32bppARGB = 0x0026200A, 
   LMImgCapSrcPixelFormat_32bppPARGB = 0x000E200B, 
} LMImgCapSrcPixelFormat; 

Members

LMImgCapSrcPixelFormat_16bppRGB555

Specifies that the format is 16 bits per pixel; 5 bits each are used for the red, green, and blue components. The remaining bit is not used.

LMImgCapSrcPixelFormat_16bppRGB565

Specifies that the format is 16 bits per pixel; 5 bits are used for the red component, 6 bits are used for the green component, and 5 bits are used for the blue component.

LMImgCapSrcPixelFormat_16bppARGB1555

Specifies that the format is 16 bits per pixel; 1 bit is used for the alpha component, and 5 bits each are used for the red, green, and blue components.

LMImgCapSrcPixelFormat_24bppRGB

Specifies that the format is 24 bits per pixel; 8 bits each are used for the red, green, and blue components.

LMImgCapSrcPixelFormat_32bppRGB

Specifies that the format is 32 bits per pixel; 8 bits each are used for the red, green, and blue components. The remaining 8 bits are not used.

LMImgCapSrcPixelFormat_32bppARGB

Specifies that the format is 32 bits per pixel; 8 bits each are used for the alpha, red, green, and blue components.

LMImgCapSrcPixelFormat_32bppPARGB

Specifies that the format is 32 bits per pixel; 8 bits each are used for the alpha, red, green, and blue components. The red, green, and blue components are premultiplied according to the alpha component.

Usage

Help Version 23.0.2025.1.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Filters C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.