Search Results for

    Show / Hide Table of Contents
    View Source

    Class CropWebProcessor

    Allows the cropping of images.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Imaging.ImageSharp.ImageProcessors
    Assembly: Umbraco.Cms.Imaging.ImageSharp.dll
    Syntax
    public class CropWebProcessor : IImageWebProcessor

    Fields

    View Source

    Coordinates

    The command constant for the crop coordinates.

    Declaration
    public const string Coordinates = "cc"
    Field Value
    Type Description
    System.String
    View Source

    Orient

    The command constant for the resize orientation handling mode.

    Declaration
    public const string Orient = "orient"
    Field Value
    Type Description
    System.String

    Properties

    View Source

    Commands

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

    Methods

    View Source

    Process(FormattedImage, ILogger, CommandCollection, CommandParser, CultureInfo)

    Declaration
    public FormattedImage Process(FormattedImage image, ILogger logger, CommandCollection commands, CommandParser parser, CultureInfo culture)
    Parameters
    Type Name Description
    FormattedImage image
    ILogger logger
    CommandCollection commands
    CommandParser parser
    System.Globalization.CultureInfo culture
    Returns
    Type Description
    FormattedImage
    View Source

    RequiresTrueColorPixelFormat(CommandCollection, CommandParser, CultureInfo)

    Declaration
    public bool RequiresTrueColorPixelFormat(CommandCollection commands, CommandParser parser, CultureInfo culture)
    Parameters
    Type Name Description
    CommandCollection commands
    CommandParser parser
    System.Globalization.CultureInfo culture
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    • Fields
      • Coordinates
      • Orient
    • Properties
      • Commands
    • Methods
      • Process(FormattedImage, ILogger, CommandCollection, CommandParser, CultureInfo)
      • RequiresTrueColorPixelFormat(CommandCollection, CommandParser, CultureInfo)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX