Actions
Bug #81700
closedImages get sharpend even if [GFX][processor_effects] is set to -1
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Image Generation / GIFBUILDER
Target version:
-
Start date:
2017-06-26
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
In the current 8.7.2 version images are sharpened even if [GFX][processor_effects] is set to -1 (Do not sharpen images by default).
The reason for that is a wrong if condition in typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php on line 371.
is:
if ($gfxConf['processor_effects']) {
$this->NO_IM_EFFECTS = 0;
$this->cmds['jpg'] .= $this->v5_sharpen(10);
$this->cmds['jpeg'] .= $this->v5_sharpen(10);
}
should be:
if ($gfxConf['processor_effects'] > 0) {
$this->NO_IM_EFFECTS = 0;
$this->cmds['jpg'] .= $this->v5_sharpen(10);
$this->cmds['jpeg'] .= $this->v5_sharpen(10);
}
Actions