예제 #1
0
파일: GD.php 프로젝트: juniortux/jaws
 /**
  * Destroys image handle
  *
  * @access  public
  * @return  void
  */
 function free()
 {
     if (is_resource($this->_hImage)) {
         imagedestroy($this->_hImage);
     }
     parent::free();
 }
예제 #2
0
파일: Imagick.php 프로젝트: Dulciane/jaws
 /**
  * Destroys image handle
  *
  * @access  public
  * @return  void
  */
 function free()
 {
     if (isset($this->_hImage)) {
         $this->_hImage->destroy();
     }
     parent::free();
 }