GifBlocksRegistry.LoadBlockByFirstSupportedDescriptor method

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

public static IGifBlock LoadBlockByFirstSupportedDescriptor(Stream stream, 
    IColorPalette containerPalette)
Parameter Type Description
stream Stream The stream.
containerPalette IColorPalette The container palette.

Return Value

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


The first opener will be actually the last registered.

See Also