You are here

function pImage::render in Visitors 7

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

File

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

Class

pImage

Code

function render($FileName) {
  if ($this->TransparentBackground) {
    imagealphablending($this->Picture, false);
    imagesavealpha($this->Picture, true);
  }
  imagepng($this->Picture, $FileName);
}