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 |
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for