ImageGear for C and C++ on Linux v18.8 - Updated
IG_IP_DCRaw_RGB_gamma_LUT_build
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Image Processing Functions > IG_IP_DCRaw_RGB_gamma_LUT_build

Builds sRGB Gamma LUT, for conversion from "linear sRGB" to the standard sRGB colorspace.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_IP_DCRaw_RGB_gamma_LUT_build (
        AT_INT ChannelDepth,
        HIGLUT* SRGBLUT
);

Arguments:

Name Type Description
ChannelDepth AT_INT Bit depth of the LUT.
SRGBLUT HIGLUT* Returns new LUT.

Return Value:

Returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

By "linear sRGB colorspace" we assume a linear (Gamma = 1.0) RGB color space that uses sRGB primaries and reference white.