Search Results for

    Show / Hide Table of Contents

    FloydSteinbergDither.ConvertToBlackAndWhite Method

    Overloads

    • FloydSteinbergDither.ConvertToBlackAndWhite(Bitmap, Bitmap)
    • FloydSteinbergDither.ConvertToBlackAndWhite(Bitmap)

    FloydSteinbergDither.ConvertToBlackAndWhite(Bitmap, Bitmap)

    Converts a true color image to black and white, using Floyd-Steinberg error diffusion.

    Syntax

    Namespace: FlexCel.Draw

    public static void ConvertToBlackAndWhite(Bitmap Source, Bitmap Result)

    Parameters

    <-> Parameter Type Description
    Source Bitmap Image to convert. Must be on Format32bppPArgb.
    Result Bitmap Here we will draw the converted image. Must be Format1bppIndexed and have the same size as Source.

    See also

    • FloydSteinbergDither

    FloydSteinbergDither.ConvertToBlackAndWhite(Bitmap)

    Converts a true color image to black and white, using Floyd-Steinberg error diffusion.

    Syntax

    Namespace: FlexCel.Draw

    public static Bitmap ConvertToBlackAndWhite(Bitmap Source)

    Parameters

    <-> Parameter Type Description
    Source Bitmap The image we want to convert. Must be on Format32bppPArgb

    Returns

    The converted black and white image.

    See also

    • FloydSteinbergDither
    In This Article
    Back to top FlexCel Studio for the .NET Framework v7.24.0.0
    © 2002 - 2025 tmssoftware.com