Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Encoder Interfaces

The following tables show the interfaces implemented by Windows Imaging Component (WIC) encoders, and the class diagram shows the inheritance hierarchy.

Container-Level Encoder Interfaces

InterfaceResponsibilitiesImplementation
IWICBitmapEncoder Container-level servicesRequired
IWICBitmapCodecProgressNotification Progress notification & cancellation supportRecommended
IWICMetadataBlockWriter Metadata serialization servicesOptional (Required only for formats that support container-level metadata)

 

Frame-Level Encoder Interfaces

InterfaceResponsibilitiesImplementation
IWICBitmapFrameEncode Frame-level servicesRequired
IWICMetadataBlockWriter Metadata serialization servicesRequired

 

WIC encoder interface inheritance hierarchy

You'll notice that the encoder interfaces are almost mirror images of the decoder interfaces, and that most of the methods on these interfaces correspond to methods on the related decoder interfaces. Now that you're familiar with the implementation of a WIC-enabled decoder, the implementation of a WIC-enabled encoder will seem familiar as well.

Related topics

Conceptual
Implementing a WIC-Enabled Encoder
Implementing IWICBitmapEncoder
How to Write a WIC-Enabled CODEC
Windows Imaging Component Overview

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.