Table of Contents

Interface IImageResolver

Namespace
SixLabors.ImageSharp.Web.Resolvers
Assembly
SixLabors.ImageSharp.Web.dll

Specifies the contract for resolving image buffers from different locations.

public interface IImageResolver

Methods

GetMetaDataAsync()

Asynchronously gets metadata associated with this image.

Task<ImageMetadata> GetMetaDataAsync()

Returns

Task<ImageMetadata>

The ImageMetadata.

OpenReadAsync()

Asynchronously gets the input image stream.

Task<Stream> OpenReadAsync()

Returns

Task<Stream>

The Task<TResult>.