Document Solutions for PDF
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / GcBitmap Class / ToIndexed4bppBitmap Method / ToIndexed4bppBitmap(DitheringMethod,Boolean) Method
The method of two-dimensional error diffusion dithering.
If true, pixels are arranged within a byte such that pixels with lower column indices are stored in the lower-order bit tetrads of the byte.

In This Topic
    ToIndexed4bppBitmap(DitheringMethod,Boolean) Method
    In This Topic
    Creates an Indexed4bppBitmap from the current image.
    Syntax
    'Declaration
     
    Public Overloads Function ToIndexed4bppBitmap( _
       ByVal ditheringMethod As DitheringMethod, _
       Optional ByVal lowerBitsFirst As System.Boolean _
    ) As Indexed4bppBitmap
    public Indexed4bppBitmap ToIndexed4bppBitmap( 
       DitheringMethod ditheringMethod,
       System.bool lowerBitsFirst
    )

    Parameters

    ditheringMethod
    The method of two-dimensional error diffusion dithering.
    lowerBitsFirst
    If true, pixels are arranged within a byte such that pixels with lower column indices are stored in the lower-order bit tetrads of the byte.

    Return Value

    A new instance of Indexed4bppBitmap.
    See Also