IImageExporterDescriptor
All Implemented Interfaces: com.aspose.psd.IImageDescriptor
public interface IImageExporterDescriptor extends IImageDescriptor
Represents the image exporter descriptor. The exporter descriptor is used to overcome the necessity to contain each exporter instance in memory and multithreading issues.
Methods
Method | Description |
---|---|
canExport(Image image, ImageOptionsBase optionsBase) | Determines whether image exporter can export the specified image to the specified image format specified by save options. |
createInstance() | Creates a new exporter instance. |
canExport(Image image, ImageOptionsBase optionsBase)
public abstract boolean canExport(Image image, ImageOptionsBase optionsBase)
Determines whether image exporter can export the specified image to the specified image format specified by save options.
Parameters:
Parameter | Type | Description |
---|---|---|
image | Image | The image to export. |
optionsBase | ImageOptionsBase | The options base. |
Returns: boolean - true if exporter created by this descriptor can export the specified image to the specified file format; otherwise, false .
createInstance()
public abstract IImageExporter createInstance()
Creates a new exporter instance.
Returns: IImageExporter - A new exporter instance.