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)
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.
Remarks
The first opener will be actually the last registered.
See Also
- interface IGifBlock
- interface IColorPalette
- class GifBlocksRegistry
- namespace Aspose.Imaging.FileFormats.Gif
- assembly Aspose.Imaging