_adapter; } public function crop($settings = array()) { $this->getAdapter()->crop($settings); return $this; } public function cropResize($settings = array()) { $this->getAdapter()->cropResize($settings); return $this; } public function resize($settings = array()) { $this->getAdapter()->resize($settings); return $this; } public function rotate($settings = array()) { $this->getAdapter()->rotate($settings); return $this; } public function scale($settings = array()) { $this->getAdapter()->scale($settings); return $this; } public function getImage() { return $this->_image; } public function setImage(Verk_Image $image) { $this->_image = $image; return $this; } public function getKeepProportion() { return $this->_keepProportion; } public function setKeepProportion(int $int) { if(is_int($int)) { $this->_keepProportion = $int; } return $this; } public function getHeight() { return $this->_height; } public function setHeight(int $height) { if(is_int($height)) { $this->_height = $height; } return $this; } public function getWidth() { return $this->_width; } public function setWidth($width) { if(is_int($width)) { $this->_width = $width; } return $this; } public function getFileSize() { return $this->_fileSize; } public function setFileSize($fileSize) { if(is_int($fileSize)) { $this->_fileSize = $fileSize; } return $this; } /* * @TODO maybe add a create() also for new images **/ public function open($file) { $this->getAdapter()->open($file); return $this; } public function save($destination) { $this->getAdapter()->save($destination); return $this; } public function render() { $this->getAdapter()->render(); return $this; } }