Interface IImageLoaderDescriptor
Interface IImageLoaderDescriptor
Namespace: Aspose.Imaging
Assembly: Aspose.Imaging.dll (25.8.0)
The image loader descriptor specifying the loader properties. The loader descriptor is used to overcome the necessity to contain each image loader instance in memory and multithreading issues.
public interface IImageLoaderDescriptor : IImageDescriptorImplements
Methods
CanLoad(StreamContainer, LoadOptions)
Determines whether image loader can read a new image from the specified stream and optionally using the loadOptions.
bool CanLoad(StreamContainer streamContainer, LoadOptions loadOptions)Parameters
streamContainer StreamContainer
The stream container.
loadOptions LoadOptions
The file format details specified by loadOptions. The loadOptions may be null.
Returns
true if image loader created by this descriptor can read image from stream; otherwise, false.
CreateInstance()
Creates a new loader instance.
IImageLoader CreateInstance()Returns
A new loader instance.