Export (0) Print
Expand All

IWICImagingFactory::CreateFastMetadataEncoderFromDecoder method

Creates a new instance of the fast metadata encoder based on the given IWICBitmapDecoder.

Syntax


HRESULT CreateFastMetadataEncoderFromDecoder(
  [in]   IWICBitmapDecoder *pIDecoder,
  [out]  IWICFastMetadataEncoder **ppIFastEncoder
);

Parameters

pIDecoder [in]

Type: IWICBitmapDecoder*

The decoder to create the fast metadata encoder from.

ppIFastEncoder [out]

Type: IWICFastMetadataEncoder**

When this method returns, contains a pointer to the new IWICFastMetadataEncoder.

Return value

Type: HRESULT

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

Remarks

The Windows provided codecs do not support fast metadata encoding at the decoder level, and only support fast metadata encoding at the frame level. To create a fast metadata encoder from a frame, see CreateFastMetadataEncoderFromFrameDecode.

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

Wincodec.h

IDL

Wincodec.idl

Library

Windowscodecs.lib

DLL

Windowscodecs.dll

See also

IWICImagingFactory
Conceptual
WIC Metadata Overview
Metadata Query Language Overview
Overview of Reading and Writing Image Metadata

 

 

Community Additions

ADD
Show:
© 2014 Microsoft