Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Called by the filter to determine whether to remove the opacity of a layer by premultiplying it against the palette colors.
Syntax
HRESULT retVal = object.IsAlphaPremultRequired(pfPremultAlpha);
Parameters
pfPremultAlpha [out]
Type: BOOLAddress of a BOOL variable that receives TRUE if a premultiply operation is required, or FALSE otherwise.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
A premultiply operation, where color components are adjusted by their corresponding alpha components, is required if the image palette contains alpha information and the palette is being converted to BFID_RGBA_32 format.