Creates a linear palette based on the provided color.

Namespace:  FreeImageAPI
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public void Colorize(
	Color color,
	int splitSize
)
Visual Basic (Declaration)
Public Sub Colorize ( _
	color As Color, _
	splitSize As Integer _
)
Visual C++
public:
void Colorize(
	Color color, 
	int splitSize
)

Parameters

color
Type: System.Drawing..::.Color
The Color used to colorize the palette.
splitSize
Type: System..::.Int32
The position of the color within the new palette. 0 < splitSize < Length.

Remarks

Only call this method on linear palettes.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also