RGBtoYIQ

#include "BIImage.H"

 

S_YIQ CALLBACK RGBtoYIQ(const LPS_RGB sRGB)

Description

Returns a S_YIQ structure that is equivalent to the color represented by the RGB values.

Parameters

LPS_RGB

sRGB

Pointer to a RGB structure to convert.

Return values

The function will return a S_YIQ structure.

Programming notes

See the Color Conversions Structures section for the description of the structures.

The range of every field of the structures is 0..255.

Requirements

Header :     Declared in BIImage.h; include BIImage.h.

Library :    Use BIImage.lib.

DLLs :       BIimage.dll.