IImageLoaderDescriptor 类
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
Methods
| Name | 描述 |
|---|---|
| can_load(stream_container, load_options) | 确定图像加载器是否可以从指定的流读取新图像,并可选地使用 loadOptions。 |
| create_instance() | 创建一个新的加载器实例。 |
Method: can_load(stream_container, load_options)
can_load(stream_container, load_options)
确定图像加载器是否可以从指定的流读取新图像,并可选地使用 loadOptions。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| stream_container | StreamContainer | 流容器。 |
| load_options | LoadOptions | 由 loadOptions 指定的文件格式详细信息。loadOptions 可能为 null。 |
Returns
| Type | Description |
|---|---|
| bool |
Method: create_instance()
create_instance()
创建一个新的加载器实例。
Returns
| Type | Description |
|---|---|
| IImageLoader | 一个新的加载器实例。 |