GifBlocksRegistry class

Represents the gif blocks openers registry.

public static class GifBlocksRegistry


Name Description
static RegisteredDescriptors { get; } Gets the registered descriptors.


Name Description
static GetFirstSupportedDescriptor(Stream) Gets the first supported opener descriptor.
static GetFirstSupportedDescriptorByTypeName(string) Gets the first supported descriptor by its type name.
static LoadBlockByFirstSupportedDescriptor(Stream, IColorPalette) Loads gif block using first found opener suitable for the specified stream.
static RegisterOpener(IGifBlockLoaderDescriptor) Registers the opener.
static UnregisterOpener(IGifBlockLoaderDescriptor) Unregisters the opener.

See Also