wfEscapeShellArg( $this->imagePath ),
wfEscapeShellArg( $thumbPath ) ),
$wgSVGConverters[$wgSVGConverter] );
+ wfProfileIn( 'rsvg' );
wfDebug( "reallyRenderThumb SVG: $cmd\n" );
$conv = wfShellExec( $cmd );
+ wfProfileOut( 'rsvg' );
} else {
$conv = false;
}
wfEscapeShellArg($this->imagePath) . " -resize {$width}x{$height} " .
wfEscapeShellArg($thumbPath);
wfDebug("reallyRenderThumb: running ImageMagick: $cmd\n");
+ wfProfileIn( 'convert' );
$conv = wfShellExec( $cmd );
+ wfProfileOut( 'convert' );
} else {
# Use PHP's builtin GD library functions.
#