Interface IImageDecoderInfo
Describes an image decoder.
Namespace: PhotoSauce.MagicScaler
Assembly: PhotoSauce.MagicScaler.dll
Syntax
public interface IImageDecoderInfo : IImageCodecInfo
Properties
DefaultOptions
Default codec options to be used for this decoder in the absence of per-instance overrides.
Declaration
IDecoderOptions DefaultOptions { get; }
Property Value
Type | Description |
---|---|
IDecoderOptions |
Factory
A delegate capable of creating an instance of this decoder over a given System.IO.Stream data source.
Declaration
Func<Stream, IDecoderOptions, IImageContainer> Factory { get; }
Property Value
Type | Description |
---|---|
System.Func<System.IO.Stream, IDecoderOptions, IImageContainer> |
Patterns
A list of "magic byte" patterns that may match files this decoder can read.
Declaration
IEnumerable<ContainerPattern> Patterns { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ContainerPattern> |
Remarks
No attempt will be made to decode an image with this decoder if its header does not match one of the ContainerPatterns.