Interface IImageResolver
Specifies the contract for resolving image buffers from different locations.
Namespace: SixLabors.ImageSharp.Web.Resolvers
Assembly: SixLabors.ImageSharp.Web.dll
Syntax
public interface IImageResolver
Methods
| Improve this Doc View SourceGetMetaDataAsync()
Asynchronously gets metadata associated with this image.
Declaration
Task<ImageMetadata> GetMetaDataAsync()
Returns
Type | Description |
---|---|
Task<ImageMetadata> | The ImageMetadata. |
OpenReadAsync()
Asynchronously gets the input image stream.
Declaration
Task<Stream> OpenReadAsync()
Returns
Type | Description |
---|---|
Task<Stream> | The Task<TResult>. |