Inverts the page if the percentage of black pixels is higher than the specified parameter.
Parameters
- page
- 1-bit ImGearPage object to apply the method to.
- percentOfBlack
- Minimum necessary percentage of black pixels on the image to trigger auto-inversion.
// Invert the image if over 50% of the pixels are black.
ImGearIC.InvertBlackImage(igPage, 50);
' Invert the image if over 50% of the pixels are black.
ImGearIC.InvertBlackImage(igPage, 50)