ImageLoadersRegistryCreateFirstSupportedLoader Method
Creates the first found loader suitable for the specified stream and optionally the loadOptions.

Namespace: Aspose.Imaging
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 20.06
Syntax
public static IImageLoader CreateFirstSupportedLoader(
	Stream stream,
	LoadOptions loadOptions
)

Parameters

stream
Type: System.IOStream
The stream.
loadOptions
Type: Aspose.ImagingLoadOptions
The load options.

Return Value

Type: IImageLoader
The loader which supports the specified stream and loadOptions or null if no such loader is found.
Remarks
The first loader will be actually the last registered.
See Also