ColorPalette.Create Method (Bitmap, Int32)

Returns a new ColorPalette with a given size containing colors generated from a given bitmap.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public static ColorPalette Create(
	Bitmap bitmap,
	int entryCount
)

Parameters

bitmap

Type: Aurigma.GraphicsMill.Bitmap

A Bitmap to create this palette from.
entryCount

Type: System.Int32

The number of colors in the palette.

Return Value

The ColorPalette class instance.

See Also

Reference