Class PhysicalFileSystemResolver
Provides means to manage image buffers within the physical file system.
Implements
Inherited Members
Namespace: SixLabors.ImageSharp.Web.Resolvers
Assembly: SixLabors.ImageSharp.Web.dll
Syntax
public class PhysicalFileSystemResolver : IImageResolver
Constructors
| Improve this Doc View SourcePhysicalFileSystemResolver(IFileInfo, in ImageMetadata)
Initializes a new instance of the PhysicalFileSystemResolver class.
Declaration
public PhysicalFileSystemResolver(IFileInfo fileInfo, in ImageMetadata metadata)
Parameters
Type | Name | Description |
---|---|---|
IFileInfo | fileInfo | The input file info. |
ImageMetadata | metadata | The image metadata associated with this file. |
Methods
| Improve this Doc View SourceGetMetaDataAsync()
Asynchronously gets metadata associated with this image.
Declaration
public Task<ImageMetadata> GetMetaDataAsync()
Returns
Type | Description |
---|---|
Task<ImageMetadata> | The ImageMetadata. |
OpenReadAsync()
Asynchronously gets the input image stream.
Declaration
public Task<Stream> OpenReadAsync()
Returns
Type | Description |
---|---|
Task<Stream> | The Task<TResult>. |