This type contains the following members.

public class ImageProcessOptions
Inheritance:
ObjectImageProcessOptions

Constructors

ImageProcessOptions()
ImageProcessOptions(string)
ImageProcessOptions(ResizeMode, Nullable<UInt16>, Nullable<UInt16>, Point)

Properties

Mode Specifies the ResizeMode to use when resizing the image.
Width Specifies the width for the output image.
Height Sepcifies the height for the output image.
Quality Specifies the JPEG output quality of the image, from 1 to 100. Setting JPEG quality may greatly reduce file size while still maintaining high visual quality.
FocalPoint Specifies a focal point for the image. When cropping, the image will be cropped with the focal point always as much as possible in the center of the output image.
Rectangle
BackgroundColor Specifies a background color for the image. This is used for padded areas and (semi-) transparent images.
Effects Apply effects to the image, such as blur, pixelate and grayscale. Image effects are not supported by the default SystemDrawingImageProcessor. Use another image processor (e.g. the ImageSharpProcessor) to enable image effects.
IsEmpty

Methods

Crop(UInt16, UInt16, Point)
Crop(Rectangle)
ScaleWidth(UInt16)
ScaleHeight(UInt16)
Max(UInt16, UInt16)
Pad(UInt16, UInt16)
Stretch(UInt16, UInt16)
FromQueryString(Dictionary<string, List<string>>)
Encode()

Extension Methods

BoxBlur(ImageProcessOptions, byte)
Brightness(ImageProcessOptions, byte)
GaussianBlur(ImageProcessOptions, float)
GaussianSharpen(ImageProcessOptions, float)
Grayscale(ImageProcessOptions, byte)
Kodachrome(ImageProcessOptions)
Lomograph(ImageProcessOptions)
Pixelate(ImageProcessOptions, byte)
Polaroid(ImageProcessOptions)
Sepia(ImageProcessOptions, byte)