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
Обратна връзка
https://aka.ms/ContentUserFeedback.
Очаквайте скоро: През цялата 2024 г. постепенно ще отстраняваме проблемите в GitHub като механизъм за обратна връзка за съдържание и ще го заменим с нова система за обратна връзка. За повече информация вижте:Подаване и преглед на обратна връзка за