Class WindowsCodecExtensions
Extension methods for managing registered codecs.
Inheritance
System.Object
WindowsCodecExtensions
Namespace: PhotoSauce.MagicScaler
Assembly: PhotoSauce.MagicScaler.dll
Syntax
public static class WindowsCodecExtensions : Object
Methods
UseWicCodecs(CodecCollection, WicCodecPolicy)
Registers codecs with the pipeline. Call from Configure(Action<CodecCollection>).
Declaration
public static void UseWicCodecs(this CodecCollection codecs, WicCodecPolicy policy)
Parameters
Type | Name | Description |
---|---|---|
CodecCollection | codecs | The current codec collection. |
WicCodecPolicy | policy | Policy that determines which registered WIC codecs are allowed. |