Packages

 

com.aspose.imaging

Interfaces

Classes

com.aspose.imaging

Interface IImageLoaderDescriptor

  • All Superinterfaces:
    IImageDescriptor


    public interface IImageLoaderDescriptor
    extends IImageDescriptor

    The image loader descriptor specifying the loader properties. The loader descriptor is used to overcome the necessity to contain each image loader instance in memory and multithreading issues.

    • Method Detail

      • canLoad

        boolean canLoad(StreamContainer streamContainer,
                        LoadOptions loadOptions)

        Determines whether image loader can read a new image from the specified stream and optionally using the loadOptions.

        Parameters:
        streamContainer - The stream container.
        loadOptions - The file format details specified by loadOptions. The loadOptions may be null.
        Returns:
        true if image loader created by this descriptor can read image from stream; otherwise, false.
      • createInstance

        IImageLoader createInstance()

        Creates a new loader instance.

        Returns:
        A new loader instance.