ImageCreatorsRegistry Class
Contents
[
Hide
]Summary: Represents the image creators registry.
Module: aspose.psd
Full Name: aspose.psd.ImageCreatorsRegistry
Aspose.PSD Version: 24.12.0
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| registered_descriptors [static] | IImageCreatorDescriptor[] | r | Gets the registered descriptors. |
| registered_formats [static] | FileFormat | r | Gets the registered image creation formats. |
Methods
| Name | Description |
|---|---|
| create_first_supported_creator(image_options) | Creates the first found creator suitable for the specified. |
| get_first_supported_descriptor(image_options) | Gets the fist found supported descriptor suitable for the specified. |
| register(image_creator_descriptor) | Registers the specified image creator descriptor. |
| register_creator(creator_descriptor) | Registers the creator. |
| unregister_creator(creator_descriptor) | Unregisters the creator. |
Method: create_first_supported_creator(image_options) [static]
create_first_supported_creator(image_options)
Creates the first found creator suitable for the specified.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| image_options | ImageOptionsBase | The image options. |
Returns
| Type | Description |
|---|---|
| IImageCreator | The creator which supports the specified or null if no such creator 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.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| image_options | ImageOptionsBase | The image options. |
Returns
| Type | Description |
|---|---|
| IImageCreatorDescriptor | The creator descriptor which supports the specified or null if no such descriptor is found. |
Method: register(image_creator_descriptor) [static]
register(image_creator_descriptor)
Registers the specified image creator descriptor.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| image_creator_descriptor | IImageCreatorDescriptor | The image creator descriptor. |
Method: register_creator(creator_descriptor) [static]
register_creator(creator_descriptor)
Registers the creator.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| creator_descriptor | IImageCreatorDescriptor | The creator descriptor to register. |
Method: unregister_creator(creator_descriptor) [static]
unregister_creator(creator_descriptor)
Unregisters the creator.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| creator_descriptor | IImageCreatorDescriptor | The creator descriptor. |