function pImage::render

5.x pImage.class.php pImage::render($FileName)

File

inc/pchart/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);
}