/** * Return the current image from the internal iterator. * * @return Ansel_Image */ public function current() { if (empty($this->_loaded['full'])) { $this->load(); } try { return $this->_buildImageObject($this->_image->current()); } catch (Horde_Image_Exception $e) { throw new Ansel_Exception($e); } }