Table of Contents

Class AutomaticImageFormatConversionParameters

Namespace
CMS.ContentEngine
Assembly
CMS.ContentEngine.dll

Configuration of the 'Automatic image format conversion' feature.

public class AutomaticImageFormatConversionParameters : IAutomaticImageFormatConversionConfiguration
Inheritance
object
AutomaticImageFormatConversionParameters
Implements
Extension Methods

Properties

InputImageExtensions

File extensions that are processed by the 'Automatic image format conversion' pipeline.

public IEnumerable<string> InputImageExtensions { get; set; }

Property Value

IEnumerable<string>

IsFormatConversionEnabled

Indicates whether the 'Automatic image format conversion' feature is enabled.

public bool IsFormatConversionEnabled { get; set; }

Property Value

bool

OutputImageExtension

Image extension that is produced by the 'Automatic image format conversion' pipeline.

public string OutputImageExtension { get; set; }

Property Value

string

OutputQuality

Quality of the image that is produced by the 'Automatic image format conversion' pipeline.

public string OutputQuality { get; set; }

Property Value

string

Methods

FromField(FormFieldInfo)

Returns the 'Automatic image format conversion' parameters in case the feature is enabled on field.

public static AutomaticImageFormatConversionParameters FromField(FormFieldInfo formField)

Parameters

formField FormFieldInfo

Returns

AutomaticImageFormatConversionParameters