/** * Output the result of the canvas * * @param array $param Parameter array * @abstract */ function save($param = false) { parent::save($param); ImageJPEG($this->_canvas, $param['filename'], $this->_quality); ImageDestroy($this->_canvas); }
/** * Output the result of the canvas * * @param array $param Parameter array * * @return void * @abstract */ function save($param = false) { parent::save($param); ImagePNG($this->_canvas, $param['filename']); ImageDestroy($this->_canvas); }