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

Namespace: Aspose.Imaging.FileFormats.Gif
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.10
Syntax
public static IGifBlock LoadBlockByFirstSupportedDescriptor(
	Stream stream,
	IColorPalette containerPalette
)

Parameters

stream
Type: System.IOStream
The stream.
containerPalette
Type: Aspose.ImagingIColorPalette
The container palette.

Return Value

Type: IGifBlock
The loaded gif block or null if no opener is found.
Remarks
The first opener will be actually the last registered.
See Also