Class CodecManager
Manages registration of encoders, decoders, and image type mappings.
Inheritance
System.Object
CodecManager
Namespace: PhotoSauce.MagicScaler
Assembly: PhotoSauce.MagicScaler.dll
Syntax
public static class CodecManager : Object
Methods
Configure(Action<CodecCollection>)
Configure codecs for the application lifetime.
Declaration
public static void Configure(Action<CodecCollection> configure)
Parameters
Type | Name | Description |
---|---|---|
System.Action<CodecCollection> | configure | A callback that allows manipulation of the codec collection before it is registered with the pipeline. |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException |