IWICBitmapSourceTransform::DoesSupportTransform method (wincodec.h)

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

[in] dstTransform

Type: WICBitmapTransformOptions

The WICBitmapTransformOptions to check if they are supported.

[out] pfIsSupported

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

Requirement Value
Minimum supported client Windows XP with SP2, Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header wincodec.h
Library Windowscodecs.lib