Project

General

Profile

Bug #96925 ยป allowWebpConfiguration.diff

Franz Kugelmann, 2022-05-10 16:03

View differences:

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']) {
    (1-1/1)