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