I changed the code of score.body.php, this way all white is changed to transparent which looks better if your wiki has a different background Color or Image:
private static function trimImage( $source, $dest ) { global $wgImageMagickConvertCommand; $cmd = wfEscapeShellArg( $wgImageMagickConvertCommand ) . ' -trim -transparent white ' //Changed by VolkoV . wfEscapeShellArg( $source ) . ' ' . wfEscapeShellArg( $dest ); wfShellExec( $cmd, $rc ); if ( $rc != 0 ) { throw new ScoreException( 'score-trimerr' ); } }