Search Results for

    Show / Hide Table of Contents
    View Source

    Class ImageSharpDimensionExtractor

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Imaging.ImageSharp.Media
    Assembly: Umbraco.Cms.Imaging.ImageSharp.dll
    Syntax
    public sealed class ImageSharpDimensionExtractor : IImageDimensionExtractor

    Constructors

    View Source

    ImageSharpDimensionExtractor(Configuration)

    Initializes a new instance of the ImageSharpDimensionExtractor class.

    Declaration
    public ImageSharpDimensionExtractor(Configuration configuration)
    Parameters
    Type Name Description
    Configuration configuration

    The configuration.

    Properties

    View Source

    SupportedImageFileTypes

    Declaration
    public IEnumerable<string> SupportedImageFileTypes { get; }
    Property Value
    Type Description
    IEnumerable<System.String>

    Methods

    View Source

    GetDimensions(Nullable<Stream>)

    Declaration
    public Size? GetDimensions(Stream? stream)
    Parameters
    Type Name Description
    System.Nullable<Stream> stream
    Returns
    Type Description
    System.Nullable<System.Drawing.Size>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ImageSharpDimensionExtractor(Configuration)
    • Properties
      • SupportedImageFileTypes
    • Methods
      • GetDimensions(Nullable<Stream>)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX