Bug #96925 ยป allowWebpConfiguration.diff
Classes/Imaging/GraphicalFunctions.php | ||
---|---|---|
// Effects in Imagemagick 5+ tends to render very slowly!!
|
||
// - therefore must be disabled in order not to perform sharpen, blurring and such.
|
||
$this->cmds['jpg'] = $this->cmds['jpeg'] = '-colorspace ' . $this->colorspace . ' -quality ' . $this->jpegQuality;
|
||
// use new $GLOBALS['TYPO3_CONF_VARS']['GFX']['webp_settings'], see https://imagemagick.org/script/webp.php
|
||
$this->cmds['webp'] = ' ' . $gfxConf['webp_settings'];
|
||
// ... but if 'processor_effects' is set, enable effects
|
||
if ($gfxConf['processor_effects']) {
|