Retrieve the palette for the quantized image

Namespace: DotNetNuke.Services.GeneratedImage.ImageQuantization
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
protected override ColorPalette GetPalette(
	ColorPalette palette
)
Visual Basic
Protected Overrides Function GetPalette ( 
	palette As ColorPalette
) As ColorPalette

Parameters

palette
Type: System.Drawing.Imaging..::..ColorPalette
Any old palette, this is overrwritten

Return Value

The new color palette

See Also