ClassImageCodecManager
ImageCodecManager represents a registry for managing image encoders and decoders.
Definition
Namespace:Telerik.Windows.Media.Imaging
Assembly:Telerik.Windows.Controls.dll
Syntax:
public static class ImageCodecManager
Inheritance: objectImageCodecManager
Properties
Decoders
Gets all registered decoders.
Declaration
public static IEnumerable<IImageDecoder> Decoders { get; }
Property Value
Encoders
Gets all registered encoders.
Declaration
public static IEnumerable<IImageEncoder> Encoders { get; }
Property Value
SupportedDecoderExtensions
Gets the supported decoder extensions.
Declaration
public static IEnumerable<string> SupportedDecoderExtensions { get; }
Property Value
SupportedEncoderExtensions
Gets the supported encoder extensions.
Declaration
public static IEnumerable<string> SupportedEncoderExtensions { get; }
Property Value
Methods
GetDecoderByExtension(string)
Gets the decoder by extension.
Declaration
public static IImageDecoder GetDecoderByExtension(string extension)
Parameters
extension
The extension.
Returns
GetDecoderByName(string)
Gets a decoder by name.
Declaration
public static IImageDecoder GetDecoderByName(string decoderName)
Parameters
decoderName
Name of the decoder.
Returns
GetEncoderByExtension(string)
Gets the encoder by extension.
Declaration
public static IImageEncoder GetEncoderByExtension(string extension)
Parameters
extension
The extension.
Returns
GetEncoderByName(string)
Gets an encoder by name.
Declaration
public static IImageEncoder GetEncoderByName(string encoderName)
Parameters
encoderName
Name of the encoder.
Returns
RegisterDecoder<TDecoder>(TDecoder)
Registers a decoder.
Declaration
public static void RegisterDecoder<TDecoder>(TDecoder decoder) where TDecoder : IImageDecoder
Parameters
decoder
TDecoder
The decoder.
RegisterEncoder<TEncoder>(TEncoder)
Registers an encoder.
Declaration
public static void RegisterEncoder<TEncoder>(TEncoder encoder) where TEncoder : IImageEncoder
Parameters
encoder
TEncoder
The encoder.