Horde_Image_Imagick::current PHP Method

current() public method

Returns the current image from the internal iterator.
public current ( ) : Horde_Image_Imagick
return Horde_Image_Imagick
    public function current()
    {
        $this->_logDebug('Horde_Image_Imagick#current');
        $params = array('data' => $this->raw());
        $image = new Horde_Image_Imagick($params, $this->_context);
        return $image;
    }