GifBlocksRegistry.LoadBlockByFirstSupportedDescriptor

GifBlocksRegistry.LoadBlockByFirstSupportedDescriptor method

Loads gif block using first found opener suitable for the specified stream.

public static IGifBlock LoadBlockByFirstSupportedDescriptor(Stream stream, 
    IColorPalette containerPalette)
ParameterTypeDescription
streamStreamThe stream.
containerPaletteIColorPaletteThe container palette.

Return Value

The loaded gif block or null if no opener is found.

Remarks

The first opener will be actually the last registered.

See Also