Interface IImageWebProcessor
Specifies the contract for processing images using a querystring URI API.
Namespace: SixLabors.ImageSharp.Web.Processors
Assembly: SixLabors.ImageSharp.Web.dll
Syntax
public interface IImageWebProcessor
Properties
| Improve this Doc View SourceCommands
Gets the collection of recognized querystring commands.
Declaration
IEnumerable<string> Commands { get; }
Property Value
Type | Description |
---|---|
IEnumerable<String> |
Methods
| Improve this Doc View SourceProcess(FormattedImage, ILogger, IDictionary<String, String>, CommandParser, CultureInfo)
Processes the image based on the querystring commands.
Declaration
FormattedImage Process(FormattedImage image, ILogger logger, IDictionary<string, string> commands, CommandParser parser, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
FormattedImage | image | The image to process. |
ILogger | logger | The type used for performing logging. |
IDictionary<String, String> | commands | The querystring collection containing the processing commands. |
CommandParser | parser | The command parser use for parting commands. |
CultureInfo | culture | The CultureInfo to use as the current parsing culture. |
Returns
Type | Description |
---|---|
FormattedImage | The FormattedImage. |