[TYPO3-core] RFC: #10025: ImageMagick generates larger than necessary files

Franz Koch typo.removeformessage at fx-graefix.de
Mon Feb 2 08:52:07 CET 2009


Hi,

if (strpos($parameters, '-strip') !== false && !$gfxConf['no_strip']) {
	$parameters = '-strip ' . $parameters;
}

I think the first condition "strpos($parameters, '-strip') !== false" is 
wrong, as it will return "true" if -strip is already in the $parameters 
variable and add the argument twice then, right?

-- 
kind regards,
Franz Koch


More information about the TYPO3-team-core mailing list