IWICFormatConverter_Initialize_Proxy function

Proxy function for the Initialize method.

Syntax


HRESULT IWICFormatConverter_Initialize_Proxy(
  _In_ IWICFormatConverter   *THIS_PTR,
  _In_ IWICBitmapSource      *pISource,
  _In_ REFWICPixelFormatGUID dstFormat,
  _In_ WICBitmapDitherType   dither,
  _In_ IWICPalette           *pIPalette,
  _In_ double                alphaThresholdPercent,
  _In_ WICBitmapPaletteType  paletteTranslate
);

Parameters

THIS_PTR [in]

Type: IWICFormatConverter*

Pointer to this IWICFormatConverter object.

pISource [in]

Type: IWICBitmapSource*

The input bitmap to convert

dstFormat [in]

Type: REFWICPixelFormatGUID

The destination pixel format GUID.

dither [in]

Type: WICBitmapDitherType

The WICBitmapDitherType used for conversion.

pIPalette [in]

Type: IWICPalette*

The palette to use for conversion.

alphaThresholdPercent [in]

Type: double

The alpha threshold to use for conversion.

paletteTranslate [in]

Type: WICBitmapPaletteType

The palette translation type to use for conversion.

Return value

Type: HRESULT

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Requirements

Minimum supported client

Windows XP with SP2, Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

DLL

Windowscodecs.dll;
Wincodec.lib

 

 

Show: