ImageGear v26.3 - Updated
ImageGear.Core Assembly / ImageGear.Processing.ImageClean Namespace / ImGearIC Class / InvertBlackImage Method
1-bit ImGearPage object to apply the method to.
Minimum necessary percentage of black pixels on the image to trigger auto-inversion.




In This Topic
    InvertBlackImage Method
    In This Topic
    Inverts the page if the percentage of black pixels is higher than the specified parameter.
    Syntax
    'Declaration
     
    Public Shared Sub InvertBlackImage( _
       ByVal page As ImGearPage, _
       ByVal percentOfBlack As Integer _
    ) 
    'Usage
     
    Dim page As ImGearPage
    Dim percentOfBlack As Integer
     
    ImGearIC.InvertBlackImage(page, percentOfBlack)
    public static void InvertBlackImage( 
       ImGearPage page,
       int percentOfBlack
    )
    public: static void InvertBlackImage( 
       ImGearPage* page,
       int percentOfBlack
    ) 
    public:
    static void InvertBlackImage( 
       ImGearPage^ page,
       int percentOfBlack
    ) 

    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.
    Remarks
    Method takes 1-bit ImGearPage and a percent of black pixels' parameter and inverts all the pixel values if the percentage of black pixels is higher than the specified parameter.
    Example
    See Also