Class ImageOptimizationParameters
- Namespace
- CMS.ContentEngine
- Assembly
- CMS.ContentEngine.dll
Represents the parameters for image optimization.
public class ImageOptimizationParameters
- Inheritance
-
objectImageOptimizationParameters
- Extension Methods
Constructors
ImageOptimizationParameters()
public ImageOptimizationParameters()
Properties
HeightLimit
Maximum Image Height: If an image exceeds this specified limit, it will be resized to fit within the maximum height while preserving its aspect ratio, utilizing the 'Automatic Image Format Conversion' feature.
public int? HeightLimit { get; set; }
Property Value
- int?
OutputExtension
Gets or sets the output extension of the optimized image.
public string OutputExtension { get; set; }
Property Value
- string
Quality
Gets or sets the quality of the optimized image.
public int Quality { get; set; }
Property Value
- int
WidthLimit
Maximum Image Width: If an image exceeds this specified limit, it will be resized to fit within the maximum width while preserving its aspect ratio, utilizing the 'Automatic Image Format Conversion' feature.
public int? WidthLimit { get; set; }
Property Value
- int?