Table of Contents

Method CreatePaletteFromBitmap

Namespace
PaintDotNet.Imaging
Assembly
PaintDotNet.Windows.dll

CreatePaletteFromBitmap(IBitmapSource, int, bool)

IPalette CreatePaletteFromBitmap(IBitmapSource bitmap, int colorCount, bool addTransparentColor)

Parameters

bitmap IBitmapSource
colorCount int
addTransparentColor bool

Returns

IPalette