IImageExporterDescriptor Class

Summary: Represents the image exporter descriptor. The exporter descriptor is used to overcome the necessity to contain each exporter instance
in memory and multithreading issues.

Module: aspose.imaging

Full Name: aspose.imaging.IImageExporterDescriptor

Inheritance: IImageDescriptor

Aspose.Imaging Version: 24.5.0

Properties

NameTypeAccessDescription
supported_formatFileFormatrGets the supported format.

Methods

NameDescription
can_export(image, options_base)Determines whether image exporter can export the specified image to the specified image format specified by save options.
create_instance()Creates a new exporter instance.

Method: can_export(image, options_base)

 can_export(image, options_base) 

Determines whether image exporter can export the specified image to the specified image format specified by save options.

Parameters:

ParameterTypeDescription
imageImageThe image to export.
options_baseImageOptionsBaseThe options base.

Returns

TypeDescription
boolTrue if exporter created by this descriptor can export the specified image to the specified file format; otherwise, false.

Method: create_instance()

 create_instance() 

Creates a new exporter instance.

Returns

TypeDescription
IImageExporterA new exporter instance.