IWICBitmapSourceTransform::DoesSupportTransform method
Determines whether a specific transform option is supported natively by the implementation of the IWICBitmapSourceTransform interface.
Syntax
HRESULT DoesSupportTransform(
[in] WICBitmapTransformOptions dstTransform,
[out] BOOL *pfIsSupported
);
Parameters
- dstTransform [in]
-
Type: WICBitmapTransformOptions
The WICBitmapTransformOptions to check if they are supported.
- pfIsSupported [out]
-
Type: BOOL*
A pointer that receives a value specifying whether the transform option is supported.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
The Windows provided codecs provide the following level of support:
- BMP, ICO, GIF, TIFF: No implementation of IWICBitmapSourceTransform.
- JPEG, PNG: Trivial support (WICBitmapTransformRotate0 only).
- JPEG-XR: Support for all transformation/rotations.
Requirements
|
Minimum supported client |
Windows XP with SP2, Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps | Windows Store apps] |
|
Header |
|
|
IDL |
|
|
Library |
|