public function toString()
	{
		if ( $this->test() )
		{
			if ( class_exists('\\Imagick') )
				$m = $this->img;
			else
			{
				ob_start();
				\call_user_func('image'.$this->ext2,$this->img);
				$m = ob_get_contents();
				ob_end_clean();
			}
			return 'data:image/'.$this->ext.';base64,'.base64_encode($m);
		}
	}
public function toString()
	{
		if ( $this->test() )
		{
			if ( class_exists('\\Imagick') )
				$m = $this->img;
			else
			{
				ob_start();
				\call_user_func('image'.$this->ext2,$this->img);
				$m = ob_get_contents();
				ob_end_clean();
			}
			return 'data:image/'.$this->ext.';base64,'.base64_encode($m);
		}
	}
public function toString ( ) { if ( $ this -> test ( ) ) { if ( class_exists ( '\\Imagick' ) ) $ m = $ this -> img ; else { ob_start ( ) ; \ call_user_func ( 'image' . $ this -> ext2 , $ this -> img ) ; $ m = ob_get_contents ( ) ; ob_end_clean ( ) ; } return 'data:image/' . $ this -> ext . ';base64,' . base64_encode ( $ m ) ; } }
Return the image as string.

```php
$img = new bbn\file\image("/home/data/test/image.jpg");
bbn\x::hdump($img->toString());
// (string)
```

@return string
Return the image as string .