Document Solutions for PDF
DS.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / GcBitmap Class / AdjustLevels Method / AdjustLevels(UInt32,UInt32,UInt32,UInt32,Single) Method
The input black point in 32-bit ARGB format (the Alpha channel is ignored).
The input white point in 32-bit ARGB format (the Alpha channel is ignored).
The output black point in 32-bit ARGB format (the Alpha channel is ignored).
The output white point in 32-bit ARGB format (the Alpha channel is ignored).
The value of gamma correction.

In This Topic
    AdjustLevels(UInt32,UInt32,UInt32,UInt32,Single) Method
    In This Topic
    Adjusts the levels of an image histogram.

    The method maps the input range of values (blackPoint..whitePoint) to the output range (outputBlack..outputWhite) using the specified gamma correction (midtone).

    Syntax
    'Declaration
     
    Public Overloads Sub AdjustLevels( _
       ByVal blackPoint As System.UInteger, _
       ByVal whitePoint As System.UInteger, _
       ByVal outputBlack As System.UInteger, _
       ByVal outputWhite As System.UInteger, _
       Optional ByVal midtone As System.Single _
    ) 
    public void AdjustLevels( 
       System.uint blackPoint,
       System.uint whitePoint,
       System.uint outputBlack,
       System.uint outputWhite,
       System.float midtone
    )

    Parameters

    blackPoint
    The input black point in 32-bit ARGB format (the Alpha channel is ignored).
    whitePoint
    The input white point in 32-bit ARGB format (the Alpha channel is ignored).
    outputBlack
    The output black point in 32-bit ARGB format (the Alpha channel is ignored).
    outputWhite
    The output white point in 32-bit ARGB format (the Alpha channel is ignored).
    midtone
    The value of gamma correction.
    See Also