Table of Contents

Method CreateFormatConvertedBitmap

Namespace
PaintDotNet.Imaging
Assembly
PaintDotNet.Windows.dll

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

IBitmapSource CreateFormatConvertedBitmap(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