Retrieve the palette for the quantized image
Namespace: DotNetNuke.Services.GeneratedImage.ImageQuantizationAssembly: 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