IImageLoaderDescriptor Class

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.psd

Full Name: aspose.psd.IImageLoaderDescriptor

Inheritance: IImageDescriptor

Aspose.PSD Version: 24.4.0

Properties

NameTypeAccessDescription
supported_formatFileFormatrGets the supported format.

Methods

NameDescription
can_load(stream_container, load_options)Determines whether image loader can read a new image from the specified stream and optionally using the .
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 .

Parameters:

ParameterTypeDescription
stream_containerStreamContainerThe stream container.
load_optionsLoadOptionsThe file format details specified by . The may be null.

Returns

TypeDescription
booltrue if image loader created by this descriptor can read image from stream; otherwise, false.

Method: create_instance()

 create_instance() 

Creates a new loader instance.

Returns

TypeDescription
IImageLoaderA new loader instance.