ImageGear Professional DLL v17.1 for Windows Accusoft
IG_IP_pseudocolor_small_grads
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > Core Component API Reference > Core Component Functions Reference > Image Processing Effects Functions > IG_IP_pseudocolor_small_grads

Glossary Item Box

This function colors an 8-bit gray level image such that small gradients are exposed.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_IP_pseudocolor_small_grads (
        HIGEAR hIGear, 
        UINT nSlope 
);

Arguments:

hIGear HIGEAR handle of 8-bit grayscale image to be colored.
nSlope An integer from 1 to 255. Higher values increase colors faster.

Return Value:

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

Supported Raster Image Formats:

Grayscale – 8-16 bpp.

Return Value:

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

Sample:

None

Example:

  Copy Code
HIGEAR hIGear;
if ( IG_image_is_valid(hIGear) )
        if ( IG_image_is_gray(hIGear) )
        IG_IP_pseudocolor_small_grads ( hIGear, 10 );  

Remarks:

The greater the value of nSlope, the faster the color will change for a given rate of change of the pixel value.

©2012. Accusoft Corporation. All Rights Reserved.