Internal function to render a graph into an image
@ignore
public function renderImage($graph, $format = 'png') {
$dot = $this
->serialiseDot($graph);
return EasyRdf_Utils::execCommandPipe($this->dotCommand, array(
"-T{$format}",
), $dot);
}