Bug #81700
closedImages get sharpend even if [GFX][processor_effects] is set to -1
100%
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);
}
Updated by Stefan P over 6 years ago
I can confirm this issue. After upgrading to TYPO3 8 the images suddenly get sharpened and this is most likely the cause.
Updated by Riccardo De Contardi about 6 years ago
- Category set to Image Generation / GIFBUILDER
Updated by Gerrit Code Review about 6 years ago
- Status changed from New to Under Review
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56494
Updated by Gerrit Code Review about 6 years ago
Patch set 2 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56494
Updated by Stephan Großberndt about 6 years ago
- Related to Bug #83591: GraphicsMagick + [GFX][processor_effects] = '0' is set to '-1' just by entering the Install Tool added
Updated by Gerrit Code Review about 6 years ago
Patch set 3 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56494
Updated by Guido S. almost 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset d6ca05c8523d494112cc4d2c8cc77cc56f00a477.
Updated by Frank Nägler almost 6 years ago
- Related to Bug #85059: Use int cast to prevent comparison failures added