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

Interface Responsibilities Implementation
IWICBitmapEncoder Container-level services Required
IWICBitmapCodecProgressNotification Progress notification & cancellation support Recommended
IWICMetadataBlockWriter Metadata serialization services Optional (Required only for formats that support container-level metadata)

 

Frame-Level Encoder Interfaces

Interface Responsibilities Implementation
IWICBitmapFrameEncode Frame-level services Required
IWICMetadataBlockWriter Metadata serialization services Required

 

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.

Conceptual

Implementing a WIC-Enabled Encoder

Implementing IWICBitmapEncoder

How to Write a WIC-Enabled CODEC

Windows Imaging Component Overview