ImageLoadersRegistry.CreateFirstSupportedLoader
ImageLoadersRegistry.CreateFirstSupportedLoader method
Creates the first found loader suitable for the specified stream and optionally the loadOptions.
public static IImageLoader CreateFirstSupportedLoader(Stream stream, LoadOptions loadOptions)
Parameter | Type | Description |
---|---|---|
stream | Stream | The stream. |
loadOptions | LoadOptions | The load options. |
Return Value
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
- interface IImageLoader
- class LoadOptions
- class ImageLoadersRegistry
- namespace Aspose.PSD
- assembly Aspose.PSD