ImageGear Professional DLL v18.1 for Windows
IG_IC_invert_black_image
Send Feedback
ImageGear Professional v18.1 > 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:

Name Type Description
hIGear HIGEAR HIGEAR handle of image.
uPercent_of_black UINT 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

©2014. Accusoft Corporation. All Rights Reserved.