function pImage::stroke in Visitors 7
Same name and namespace in other branches
- 7.2 pChart/class/pImage.class.php \pImage::stroke()
File
- pChart/
class/ pImage.class.php, line 155
Class
Code
function stroke($BrowserExpire = FALSE) {
if ($this->TransparentBackground) {
imagealphablending($this->Picture, false);
imagesavealpha($this->Picture, true);
}
if ($BrowserExpire) {
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Cache-Control: no-cache");
header("Pragma: no-cache");
}
header('Content-type: image/png');
imagepng($this->Picture);
}