Interface IGifBlockLoaderDescriptor
Interface IGifBlockLoaderDescriptor
Namespace: Aspose.Imaging.FileFormats.Gif
Assembly: Aspose.Imaging.dll (25.2.0)
Gif block Loader descriptor.
public interface IGifBlockLoaderDescriptor
Methods
CanLoad(StreamContainer)
Determines whether loader can load the specified data.
bool CanLoad(StreamContainer streamContainer)
Parameters
streamContainer
StreamContainer
The stream container to load data from.
Returns
true
loader can load the specified data; otherwise, false
.
Load(StreamContainer, IColorPalette)
Loads the gif block.
IGifBlock Load(StreamContainer streamContainer, IColorPalette containerPalette)
Parameters
streamContainer
StreamContainer
The stream container.
containerPalette
IColorPalette
The container palette.
Returns
A new gif block.