Interface IImageEncoderInfo
Describes an image encoder.
Namespace: PhotoSauce.MagicScaler
Assembly: PhotoSauce.MagicScaler.dll
Syntax
public interface IImageEncoderInfo : IImageCodecInfo
Properties
DefaultOptions
Default codec options to be used for this encoder in the absence of per-instance overrides.
Declaration
IEncoderOptions DefaultOptions { get; }
Property Value
Type | Description |
---|---|
IEncoderOptions |
Factory
A delegate capable of creating an instance of this encoder to write to a given System.IO.Stream data source.
Declaration
Func<Stream, IEncoderOptions, IImageEncoder> Factory { get; }
Property Value
Type | Description |
---|---|
System.Func<System.IO.Stream, IEncoderOptions, IImageEncoder> |
PixelFormats
A list of the pixel format GUIDs supported by this encoder.
Declaration
IEnumerable<Guid> PixelFormats { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Guid> |
SupportsAnimation
True if the codec supports animation sequences, otherwise false.
Declaration
bool SupportsAnimation { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
SupportsColorProfile
True if the codec supports ICC color profiles, otherwise false.
Declaration
bool SupportsColorProfile { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
SupportsMultiFrame
True if the codec supports transparency, otherwise false.
Declaration
bool SupportsMultiFrame { get; }
Property Value
Type | Description |
---|---|
System.Boolean |