You are here

function pImage::autoOutput in Visitors 7

Same name and namespace in other branches
  1. 7.2 pChart/class/pImage.class.php \pImage::autoOutput()

File

pChart/class/pImage.class.php, line 171

Class

pImage

Code

function autoOutput($FileName = "output.png") {
  if (php_sapi_name() == "cli") {
    $this
      ->Render($FileName);
  }
  else {
    $this
      ->Stroke();
  }
}