Search Results for

    Show / Hide Table of Contents
    View Source

    Class NoopImageDimensionExtractor

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Media
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class NoopImageDimensionExtractor : IImageDimensionExtractor

    Properties

    View Source

    SupportedImageFileTypes

    Gets the supported image file types/extensions.

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

    The supported image file types/extensions.

    Methods

    View Source

    GetDimensions(Stream)

    Gets the dimensions.

    Declaration
    public Size? GetDimensions(Stream stream)
    Parameters
    Type Name Description
    Stream stream

    The stream.

    Returns
    Type Description
    Size?

    The dimensions of the image if the stream was parsable; otherwise, null.

    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX