Table of Contents

Class ConvertDefaultParameters

Namespace
Dynamicweb.Imaging.ImageHandling
Assembly
Dynamicweb.Core.dll

Represents default conversion parameters.

public class ConvertDefaultParameters
Inheritance
ConvertDefaultParameters
Inherited Members

Fields

ColorDepth

The default value for GIF color depth.

public const int ColorDepth = 256

Field Value

int

ColorDepthMax

The maximum value of GIF color depth.

public const int ColorDepthMax = 256

Field Value

int

ColorDepthMin

The minimum value of GIF color depth.

public const int ColorDepthMin = 2

Field Value

int

ColorMode

The default value for color mode.

public const ColorMode ColorMode = Rgb

Field Value

ColorMode

CropMode

The default value for cropping mode.

public const CropMode CropMode = KeepAspectRatio

Field Value

CropMode

DoNotResize

Indicates whether to resize image or not in case if height or width exceed original image size.

public const bool DoNotResize = false

Field Value

bool

GrayScaleDepth

The default depth value when using a gray scale palette.

public const int GrayScaleDepth = 256

Field Value

int

OutputFormat

The default value for output format.

public const OutputFormat OutputFormat = Jpg

Field Value

OutputFormat

Quality

The default JPEG-quality.

public const int Quality = 75

Field Value

int

QualityMax

The maximum value of JPEG-quality.

public const int QualityMax = 100

Field Value

int

QualityMin

The minimum value of JPEG-quality and webp - -1 = lossless compression webp.

public const int QualityMin = 1

Field Value

int

Resolution

The default value for resolution.

public const int Resolution = 72

Field Value

int

ResolutionMax

The maximum value of resolution.

public const int ResolutionMax = 300

Field Value

int

ResolutionMin

The minimum value of resolution.

public const int ResolutionMin = 72

Field Value

int
To top