View Source
Inheritance
System.Object
Assembly: Umbraco.Cms.Imaging.ImageSharp.dll
public sealed class ImageSharpDimensionExtractor : IImageDimensionExtractor
Constructors
View Source
Declaration
public ImageSharpDimensionExtractor(Configuration configuration)
Parameters
Type |
Name |
Description |
Configuration |
configuration |
The configuration.
|
Properties
View Source
Declaration
public IEnumerable<string> SupportedImageFileTypes { get; }
Property Value
Type |
Description |
IEnumerable<System.String> |
|
Methods
View Source
Declaration
public Size? GetDimensions(Stream? stream)
Parameters
Type |
Name |
Description |
System.Nullable<Stream> |
stream |
|
Returns
Type |
Description |
System.Nullable<System.Drawing.Size> |
|