Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IWICBitmapEncoder::SetThumbnail method (wincodec.h)

Sets the global thumbnail for the image.

Syntax

HRESULT SetThumbnail(
 [in] IWICBitmapSource *pIThumbnail
);

Parameters

[in] pIThumbnail

Type: IWICBitmapSource*

The IWICBitmapSource to set as the global thumbnail.

Return value

Type: HRESULT

Returns S_OK if successful, or an error value otherwise.

Returns WINCODEC_ERR_UNSUPPORTEDOPERATION if the feature is not supported by the encoder.

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
DLL Windowscodecs.dll

Feedback

Was this page helpful?

Additional resources