Class ImageLoadersRegistry

ImageLoadersRegistry class

Represents the image loaders registry.

public static class ImageLoadersRegistry

Properties

NameDescription
static RegisteredDescriptors { get; }Gets the registered descriptors.
static RegisteredFormats { get; }Gets the registered image loading formats.

Methods

NameDescription
static CreateFirstSupportedLoader(Stream, LoadOptions)Creates the first found loader suitable for the specified stream and optionally the loadOptions.
static GetFirstSupportedDescriptor(Stream, LoadOptions)Gets the fist found supported descriptor suitable for the specified stream and optionally the loadOptions.
static GetFirstSupportedDescriptorByFileFormat(FileFormat)Gets the first supported file format by its type name.
static GetFirstSupportedDescriptorByTypeName(string)Gets the first supported descriptor by its type name.
static Register(IImageLoaderDescriptor)Registers the specified image loader descriptor.
static RegisterLoader(IImageLoaderDescriptor)Registers the loader.
static UnregisterLoader(IImageLoaderDescriptor)Unregisters the loader.

See Also