RGBQUAD Structure

Summary

The RGBQUAD data type defines the elements of a palette entry.

Syntax
C#
VB
C++
public struct RGBQUAD 
Public Structure RGBQUAD  
   Inherits System.ValueType 
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 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Multimedia Assembly