reset() public method

Resets the image data to defaults.
public reset ( )
Example #1
0
 /**
  * Reset the image data.
  */
 public function reset()
 {
     parent::reset();
     if (is_resource($this->_im)) {
         return $this->call('imageDestroy', array($this->_im));
     }
     return true;
 }
Example #2
0
File: Im.php Project: horde/horde
 /**
  * Resets the image data.
  */
 public function reset()
 {
     parent::reset();
     $this->_operations = array();
     $this->_postSrcOperations = array();
     $this->clearGeometry();
 }
Example #3
0
 /**
  * Reset the image, removing all loaded views.
  *
  */
 public function reset()
 {
     $this->_image->reset();
     $this->_loaded = array();
 }
Example #4
0
File: Png.php Project: horde/horde
 /**
  * Resets the image data to defaults.
  */
 public function reset()
 {
     parent::reset();
     $this->_img = array();
 }
Example #5
0
 public function reset()
 {
     parent::reset();
     $this->_imagick->clear();
     $this->_noMoreImages = false;
 }