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