Closed eliashaeussler closed 5 months ago
@eliashaeussler Thanks for the pull request, looks fine. One question, though:
Should parseStripColorProfileCommand(): mixed
not always return a string (I really don't like the mixed
type hint)?
Should
parseStripColorProfileCommand(): mixed
not always return a string (I really don't like themixed
type hint)?
You're right, I changed it to a string return, see db02355.
@wazum Any chance, this gets merged soon? It's kind of deal-breaker.
With TYPO3-CORE-SA-2024-002, the previously used configuration option
$GLOBALS['TYPO3_CONF_VARS']['GFX']['processor_stripColorProfileCommand']
was replaced by a new configuration option$GLOBALS['TYPO3_CONF_VARS']['GFX']['processor_stripColorProfileParameters']
which provides an array instead of a string. This PR adapt the codebase inMagickConverter
to use the new configuration option, but stays compatible with legacy configurations.Resolves: #92