Document Solutions for PDF
DS.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / GcBitmap Class / ShrinkARGBFormat Method / ShrinkARGBFormat(Int32,DitheringMethod) Method
The target number of bits per channel (from 1 to 8).
The method of two-dimensional error diffusion dithering.

In This Topic
    ShrinkARGBFormat(Int32,DitheringMethod) Method
    In This Topic
    Changes pixel format from 8 bits per channel to lower values with two-dimensional error diffusion.
    Syntax
    'Declaration
     
    Public Overloads Sub ShrinkARGBFormat( _
       ByVal bitsPerChannel As System.Integer, _
       ByVal ditheringMethod As DitheringMethod _
    ) 
    public void ShrinkARGBFormat( 
       System.int bitsPerChannel,
       DitheringMethod ditheringMethod
    )

    Parameters

    bitsPerChannel
    The target number of bits per channel (from 1 to 8).
    ditheringMethod
    The method of two-dimensional error diffusion dithering.
    See Also