ImageGear Professional DLL v17.1 for Windows Accusoft
IG_IC_invert_black_image
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > ImageClean Component API Reference > ImageClean Component Functions Reference > IG_IC_invert_black_image

Glossary Item Box

This function inverts all pixel values of a 1-bit image in which the percentage of black pixels is higher than the value you assign to uPercent_of_black.

Declaration:

  Copy Code
AT_ERRCOUNT IG_IC_invert_black_image ( 
        HIGEAR hIGear, 
        UINT uPercent_of_black
); 

Arguments:

hIGear HIGEAR handle of image.
uPercent_of_black Minimum necessary percentage of black pixels on the image to trigger auto-inversion.

Return Value:

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

Supported Raster Image Formats:

Indexed RGB – 1 bpp.

Sample:

ImageClean

©2012. Accusoft Corporation. All Rights Reserved.