Table of Contents

Interface IImageLoaderDescriptor

Namespace
Aspose.Imaging
Assembly
Aspose.Imaging.dll

The image loader descriptor specifying the loader properties. The loader descriptor is used to overcome the necessity to contain each image loader instance in memory and multithreading issues.

public interface IImageLoaderDescriptor : IImageDescriptor
Inherited Members

Methods

CanLoad(StreamContainer, LoadOptions)

Determines whether image loader can read a new image from the specified stream and optionally using the loadOptions.

bool CanLoad(StreamContainer streamContainer, LoadOptions loadOptions)

Parameters

streamContainer StreamContainer

The stream container.

loadOptions LoadOptions

The file format details specified by loadOptions. The loadOptions may be null.

Returns

bool

true if image loader created by this descriptor can read image from stream; otherwise, false.

CreateInstance()

Creates a new loader instance.

IImageLoader CreateInstance()

Returns

IImageLoader

A new loader instance.