RGBtoHSV_ICC

#include "BIImage.H"

 

S_HSV CALLBACK RGBtoHSV_ICC(const LPS_RGB sRGB, const LPICC_TRANSFORM transform)

Description

Returns a S_HSV structure that is equivalent to the color represented by the RGB values. The colorspace conversion is ICC managed.

Parameters

LPS_RGB

LPICC_TRANSFORM

sRGB

transform

Pointer to a RGB structure to convert.

Handle of ICC transform

Return values

The function will return a S_HSV structure.

Programming notes

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

The range for all fields in the structure is between 0..255.

Requirements

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

Library :    Use BIImage.lib, lcms2.lib.

DLLs :       BIimage.dll, lcms2.dll.