RGBQUAD Structure

Summary
The RGBQUAD data type defines the elements of a palette entry.
Syntax
C#
C++/CLI
public struct RGBQUAD 
public value class RGBQUAD : public System.ValueType  
Remarks

Videos with 8 bits per pixel or less need a palette to describe the color of each pixel. The palette is described using the RGBQUAD structure, which contains the red, green and blue components (0..255). For more information, see the Microsoft documentation on RGBQUAD. And array of RGBQUAD structures can be passed to MediaType.SetVideoFormatData to create a Media type with 8 bits per pixel.

Requirements

Target Platforms

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

Leadtools.Multimedia Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.