Class AWSS3StorageImageResolver
Provides means to manage image buffers within the AWS S3 file system.
Implements
Inherited Members
Namespace: SixLabors.ImageSharp.Web.Resolvers.AWS
Assembly: SixLabors.ImageSharp.Web.Providers.AWS.dll
Syntax
public class AWSS3StorageImageResolver : IImageResolver
Constructors
| Improve this Doc View SourceAWSS3StorageImageResolver(IAmazonS3, String, String)
Initializes a new instance of the AWSS3StorageImageResolver class.
Declaration
public AWSS3StorageImageResolver(IAmazonS3 amazonS3, string bucketName, string imagePath)
Parameters
Type | Name | Description |
---|---|---|
IAmazonS3 | amazonS3 | The Amazon S3 Client |
String | bucketName | The bucket name. |
String | imagePath | The image path. |
Methods
| Improve this Doc View SourceGetMetaDataAsync()
Declaration
public async Task<ImageMetadata> GetMetaDataAsync()
Returns
Type | Description |
---|---|
Task<ImageMetadata> |
OpenReadAsync()
Declaration
public Task<Stream> OpenReadAsync()
Returns
Type | Description |
---|---|
Task<Stream> |