Esempio n. 1
0
 /**
  * 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);
 }
Esempio n. 2
0
 /**
  * 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);
 }