ImageCreatorsRegistry Class

Summary: Represents the image creators registry.

Module: aspose.imaging

Full Name: aspose.imaging.ImageCreatorsRegistry

Aspose.Imaging Version: 24.5.0

Properties

NameTypeAccessDescription
registered_descriptors [static]IImageCreatorDescriptor[]rGets the registered descriptors.
registered_formats [static]FileFormatrGets the registered image creation formats.

Methods

NameDescription
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:

ParameterTypeDescription
image_optionsImageOptionsBaseThe image options.

Returns

TypeDescription
IImageCreatorThe 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:

ParameterTypeDescription
image_optionsImageOptionsBaseThe image options.

Returns

TypeDescription
IImageCreatorDescriptorThe 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:

ParameterTypeDescription
image_creator_descriptorIImageCreatorDescriptorThe image creator descriptor.

Method: register_creator(creator_descriptor) [static]

 register_creator(creator_descriptor) 

Registers the creator.

Parameters:

ParameterTypeDescription
creator_descriptorIImageCreatorDescriptorThe creator descriptor to register.

Method: unregister_creator(creator_descriptor) [static]

 unregister_creator(creator_descriptor) 

Unregisters the creator.

Parameters:

ParameterTypeDescription
creator_descriptorIImageCreatorDescriptorThe creator descriptor.