Interface IImageExporterDescriptor

Interface IImageExporterDescriptor

Namespace: Aspose.Imaging
Assembly: Aspose.Imaging.dll (25.2.0)

Represents the image exporter descriptor. The exporter descriptor is used to overcome the necessity to contain each exporter instance in memory and multithreading issues.

public interface IImageExporterDescriptor : IImageDescriptor

Implements

IImageDescriptor

Methods

CanExport(Image, ImageOptionsBase)

Determines whether image exporter can export the specified image to the specified image format specified by save options.

bool CanExport(Image image, ImageOptionsBase optionsBase)

Parameters

image Image

The image to export.

optionsBase ImageOptionsBase

The options base.

Returns

bool

True if exporter created by this descriptor can export the specified image to the specified file format; otherwise, false.

CreateInstance()

Creates a new exporter instance.

IImageExporter CreateInstance()

Returns

IImageExporter

A new exporter instance.