Class JpegQualityWebProcessor
Allows the setting of quality for the jpeg image format.
Implements
Inherited Members
Namespace: SixLabors.ImageSharp.Web.Processors
Assembly: SixLabors.ImageSharp.Web.dll
Syntax
public class JpegQualityWebProcessor : IImageWebProcessor
Fields
| Improve this Doc View SourceQuality
The command constant for quality.
Declaration
public const string Quality = "quality"
Field Value
Type | Description |
---|---|
String |
Properties
| Improve this Doc View SourceCommands
Gets the collection of recognized querystring commands.
Declaration
public 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
public 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. |