| API Reference Guide > ImageClean Component API Reference > ImageClean Component Functions Reference > IG_IC_invert_black_image |
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.
|
Copy Code
|
|
|---|---|
AT_ERRCOUNT IG_IC_invert_black_image (
HIGEAR hIGear,
UINT uPercent_of_black
);
|
|
| 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. |
Returns the number of ImageGear errors that occurred during this function call.
Indexed RGB – 1 bpp.
ImageClean