ImageExportersRegistry Class
Contents
[
Hide
]Summary: Represents the image exporters registry.
Module: aspose.imaging
Full Name: aspose.imaging.ImageExportersRegistry
Properties
Name | Type | Access | Description |
---|---|---|---|
registered_exporter_descriptors [static] | IImageExporterDescriptor[] | r | Gets the registered exporter descriptors. |
registered_formats [static] | FileFormat | r | Gets the registered export formats. |
Methods
Name | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
image | Image | The image to export. |
options | ImageOptionsBase | The save options to use for export. |
Returns
Type | Description |
---|---|
IImageExporter | The 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:
Parameter | Type | Description |
---|---|---|
image | Image | The image to export. |
options | ImageOptionsBase | The options. |
Returns
Type | Description |
---|---|
IImageExporterDescriptor | The 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:
Parameter | Type | Description |
---|---|---|
image_exporter_descriptor | IImageExporterDescriptor | The image exporter descriptor. |
Method: register_exporter(exporter_descriptor) [static]
register_exporter(exporter_descriptor)
Registers the exporter.
Parameters:
Parameter | Type | Description |
---|---|---|
exporter_descriptor | IImageExporterDescriptor | The exporter descriptor to register. |
Method: unregister_exporter(exporter_descriptor) [static]
unregister_exporter(exporter_descriptor)
Unregisters the exporter.
Parameters:
Parameter | Type | Description |
---|---|---|
exporter_descriptor | IImageExporterDescriptor | The exporter descriptor to unregister. |