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
ColorDepthMax
The maximum value of GIF color depth.
public const int ColorDepthMax = 256
Field Value
ColorDepthMin
The minimum value of GIF color depth.
public const int ColorDepthMin = 2
Field Value
ColorMode
The default value for color mode.
public const ColorMode ColorMode = Rgb
Field Value
CropMode
The default value for cropping mode.
public const CropMode CropMode = KeepAspectRatio
Field Value
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
GrayScaleDepth
The default depth value when using a gray scale palette.
public const int GrayScaleDepth = 256
Field Value
OutputFormat
The default value for output format.
public const OutputFormat OutputFormat = Jpg
Field Value
Quality
The default JPEG-quality.
public const int Quality = 75
Field Value
QualityMax
The maximum value of JPEG-quality.
public const int QualityMax = 100
Field Value
QualityMin
The minimum value of JPEG-quality and webp - -1 = lossless compression webp.
public const int QualityMin = 1
Field Value
Resolution
The default value for resolution.
public const int Resolution = 72
Field Value
ResolutionMax
The maximum value of resolution.
public const int ResolutionMax = 300
Field Value
ResolutionMin
The minimum value of resolution.
public const int ResolutionMin = 72