SiteSettings.saveWebPImageConversionSettings (Method)
Saves the default site-wide settings for WebP image support.
Returns:
Void
Arguments:
Name | Type | Required | Description |
---|---|---|---|
renderWebP | Any | Optional. Defaults to '0'. | Boolean flag indicating whether the rendering of WebP images is enabled or not. If false, WebP images will not be rendered, nor will any information regarding existing WebP images be passed to any render handlers. |
conversionType | WebPConversionType_EmtyString | Optional. Defaults to an empty string. | Type of WebP compression to use. Either 'lossy', 'lossless' or an empty string if WebP support is not enabled. |
qualityCompressionSpeed | Integer_0_to_100_NEG1 | Optional. Defaults to '-1'. | The compression factor for RGB channels between 0 and 100. -1 if WebP conversion is not enabled. |
Context:
License Requirements | (none) |
Permission Requirements | site:SiteAdmin |
Deny Context | (none) |
Require Context | (none) |
Author Lock | (not required) |
Transaction Logging | If transaction logging is enabled at the site level, calls to this method will be logged |
Customization | Customization is not supported for this method. |
Error Codes:
None
Notes:
None