IGifBlockLoaderDescriptor Class

Summary: Gif block Loader descriptor.

Module: aspose.imaging.fileformats.gif

Full Name: aspose.imaging.fileformats.gif.IGifBlockLoaderDescriptor

Aspose.Imaging Version: 24.7.0

Methods

NameDescription
can_load(stream_container)Determines whether loader can load the specified data.
load(stream_container, container_palette)Loads the gif block.

Method: can_load(stream_container)

 can_load(stream_container) 

Determines whether loader can load the specified data.

Parameters:

ParameterTypeDescription
stream_containerStreamContainerThe stream container to load data from.

Returns

TypeDescription
booltrue loader can load the specified data; otherwise, false.

Method: load(stream_container, container_palette)

 load(stream_container, container_palette) 

Loads the gif block.

Parameters:

ParameterTypeDescription
stream_containerStreamContainerThe stream container.
container_paletteIColorPaletteThe container palette.

Returns

TypeDescription
IGifBlockA new gif block.