/** * Converts the image to grayscale. * * @param string $view The view (screen, full, etc...) to work with. * * @throws Ansel_Exception */ public function grayscale($view = 'full') { $this->load($view); $this->_dirty = true; try { $this->_image->grayscale(); } catch (Horde_Image_Exception $e) { throw new Ansel_Exception($e); } }