ImageExportersRegistry Class

Summary: Represents the image exporters registry.

Module: aspose.psd

Full Name: aspose.psd.ImageExportersRegistry

Aspose.PSD Version: 24.9.0

Properties

NameTypeAccessDescription
registered_exporter_descriptors [static]IImageExporterDescriptor[]rGets the registered exporter descriptors.
registered_formats [static]FileFormatrGets the registered export formats.

Methods

NameDescription
create_first_supported_exporter(image, options)Creates the first found exporter suitable for the specified save options and image.
get_first_supported_descriptor(image, options)Gets the fist found supported descriptor suitable for the specified save options and image.
register(image_exporter_descriptor)Registers the specified image exporter descriptor.
register_exporter(exporter_descriptor)Registers the exporter.
unregister_exporter(exporter_descriptor)Unregisters the exporter.

Method: create_first_supported_exporter(image, options) [static]

 create_first_supported_exporter(image, options) 

Creates the first found exporter suitable for the specified save options and image.

Parameters:

ParameterTypeDescription
imageImageThe image to export.
optionsImageOptionsBaseThe save options to use for export.

Returns

TypeDescription
IImageExporterThe exporter which supports the specified image and save options or null if no such exporter is found.

Method: get_first_supported_descriptor(image, options) [static]

 get_first_supported_descriptor(image, options) 

Gets the fist found supported descriptor suitable for the specified save options and image.

Parameters:

ParameterTypeDescription
imageImageThe image to export.
optionsImageOptionsBaseThe options.

Returns

TypeDescription
IImageExporterDescriptorThe exporter descriptor which supports the specified image and save options or null if no such descriptor is found.

Method: register(image_exporter_descriptor) [static]

 register(image_exporter_descriptor) 

Registers the specified image exporter descriptor.

Parameters:

ParameterTypeDescription
image_exporter_descriptorIImageExporterDescriptorThe image exporter descriptor.

Method: register_exporter(exporter_descriptor) [static]

 register_exporter(exporter_descriptor) 

Registers the exporter.

Parameters:

ParameterTypeDescription
exporter_descriptorIImageExporterDescriptorThe exporter descriptor to register.

Method: unregister_exporter(exporter_descriptor) [static]

 unregister_exporter(exporter_descriptor) 

Unregisters the exporter.

Parameters:

ParameterTypeDescription
exporter_descriptorIImageExporterDescriptorThe exporter descriptor to unregister.