public function output($size = null, $compression = -1, $filters = -1)
    {
        header('Content-Type: image/png');
        return imagepng($this->getImage($size), null, $compression, $filters);
    }
public function output($size = null, $compression = -1, $filters = -1)
    {
        header('Content-Type: image/png');
        return imagepng($this->getImage($size), null, $compression, $filters);
    }
public function output ( $ size = null , $ compression = - 1 , $ filters = - 1 ) { header ( 'Content-Type: image/png' ) ; return imagepng ( $ this -> getImage ( $ size ) , null , $ compression , $ filters ) ; }
print image to stdout with Content-Type header
@param int $size image size
@param int $compression PNG compression level
@param int $filters PNG filter flags to use
@return bool true on success
print image to stdout with Content - Type header