Table of Contents

Method CreateInstance

Namespace
PaintDotNet.Imaging
Assembly
PaintDotNet.Windows.dll

CreateInstance(IBitmapSource, in PixelFormat, BitmapDitherType, IPalette?, double, BitmapPaletteType)

IBitmapSource CreateInstance(IBitmapSource source, in PixelFormat dstFormat, BitmapDitherType dither, IPalette? palette, double alphaThresholdPercent, BitmapPaletteType paletteTranslate)

Parameters

source IBitmapSource
dstFormat PixelFormat
dither BitmapDitherType
palette IPalette
alphaThresholdPercent double
paletteTranslate BitmapPaletteType

Returns

IBitmapSource