Packages

 

com.aspose.imaging

Interfaces

Classes

com.aspose.imaging

Class ImageCreatorsRegistry



  • public class ImageCreatorsRegistry
    extends Object

    Represents the image creators registry.

    • Constructor Detail

      • ImageCreatorsRegistry

        public ImageCreatorsRegistry()
    • Method Detail

      • getRegisteredFormats

        public static long getRegisteredFormats()

        Gets the registered image creation formats.

        Value: The registered image creation formats.
      • getRegisteredDescriptors

        public static IImageCreatorDescriptor[] getRegisteredDescriptors()

        Gets the registered descriptors.

        Value: The registered descriptors.
      • register

        public static void register(IImageCreatorDescriptor creatorDescriptor)

        Registers the specified image creator descriptor.

        Parameters:
        creatorDescriptor - The image creator descriptor.
      • getFirstSupportedDescriptor

        public static IImageCreatorDescriptor getFirstSupportedDescriptor(ImageOptionsBase imageOptions)

        Gets the fist found supported descriptor suitable for the specified.

        Parameters:
        imageOptions - The image options.

        The first creator descriptor will be actually the last registered.

        Returns:
        The creator descriptor which supports the specified or null if no such descriptor is found.
      • createFirstSupportedCreator

        public static IImageCreator createFirstSupportedCreator(ImageOptionsBase imageOptions)

        Creates the first found creator suitable for the specified.

        Parameters:
        imageOptions - The image options.

        The first creator will be actually the last registered.

        Returns:
        The creator which supports the specified or null if no such creator is found.
      • registerCreator

        public static void registerCreator(IImageCreatorDescriptor creatorDescriptor)

        Registers the creator.

        Parameters:
        creatorDescriptor - The creator descriptor to register.
      • unregisterCreator

        public static void unregisterCreator(IImageCreatorDescriptor creatorDescriptor)

        Unregisters the creator.

        Parameters:
        creatorDescriptor - The creator descriptor.