IImageLoaderDescriptor Class
Contents
[
Hide
]Summary: 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.
Module: aspose.imaging
Full Name: aspose.imaging.IImageLoaderDescriptor
Inheritance: IImageDescriptor
Properties
Name | Type | Access | Description |
---|---|---|---|
supported_format | FileFormat | r | Gets the supported format. |
Methods
Name | Description |
---|---|
can_load(stream_container, load_options) | Determines whether image loader can read a new image from the specified stream and optionally using the loadOptions. |
create_instance() | Creates a new loader instance. |
Method: can_load(stream_container, load_options)
can_load(stream_container, load_options)
Determines whether image loader can read a new image from the specified stream and optionally using the loadOptions.
Parameters:
Parameter | Type | Description |
---|---|---|
stream_container | StreamContainer | The stream container. |
load_options | LoadOptions | The file format details specified by loadOptions. The loadOptions may be null. |
Returns
Type | Description |
---|---|
bool |
Method: create_instance()
create_instance()
Creates a new loader instance.
Returns
Type | Description |
---|---|
IImageLoader | A new loader instance. |