[]
        
(Showing Draft Content)

C1.Util.DX.WIC.FormatConverter.Initialize

Initialize Method

Initialize(BitmapSource, Guid)

Initializes this instance with the specified bitmap source and format

Declaration
public void Initialize(BitmapSource sourceRef, Guid dstFormat)
Parameters
Type Name Description
BitmapSource sourceRef

The source ref.

Guid dstFormat

The destination format.

Initialize(BitmapSource, Guid, BitmapDitherType, Palette, double, BitmapPaletteType)

HRESULT IWICFormatConverter::Initialize([In] IWICBitmapSource* pISource,[In] const GUID& dstFormat,[In] WICBitmapDitherType dither,[In, Optional] IWICPalette* pIPalette,[In] double alphaThresholdPercent,[In] WICBitmapPaletteType paletteTranslate)

Declaration
public void Initialize(BitmapSource sourceRef, Guid dstFormat, BitmapDitherType dither, Palette paletteRef, double alphaThresholdPercent, BitmapPaletteType paletteTranslate)
Parameters
Type Name Description
BitmapSource sourceRef
Guid dstFormat
BitmapDitherType dither
Palette paletteRef
double alphaThresholdPercent
BitmapPaletteType paletteTranslate