ImageExportersRegistry.CreateFirstSupportedExporter

ImageExportersRegistry.CreateFirstSupportedExporter method

Creates the first found exporter suitable for the specified save options and image.

public static IImageExporter CreateFirstSupportedExporter(Image image, ImageOptionsBase options)
ParameterTypeDescription
imageImageThe image to export.
optionsImageOptionsBaseThe save options to use for export.

Return Value

The exporter which supports the specified image and save options or null if no such exporter is found.

Remarks

The first exporter will be actually the last registered.

See Also