public function toDataSchemeURI()
	{
		$md5 = md5(microtime(1).rand(10000, 99999));
		$filePath = $this->tempDirPath() . DIRECTORY_SEPARATOR . "temp".$md5.".png";
		$this->saveTo($filePath);
		
		$uri = 'data:' . mime_content_type($filePath) . ';base64,';
		$uri .= base64_encode(file_get_contents($filePath));
		
		unlink($filePath);
		
		return $uri;
	}
public function toDataSchemeURI()
	{
		$md5 = md5(microtime(1).rand(10000, 99999));
		$filePath = $this->tempDirPath() . DIRECTORY_SEPARATOR . "temp".$md5.".png";
		$this->saveTo($filePath);
		
		$uri = 'data:' . mime_content_type($filePath) . ';base64,';
		$uri .= base64_encode(file_get_contents($filePath));
		
		unlink($filePath);
		
		return $uri;
	}
public function toDataSchemeURI ( ) { $ md5 = md5 ( microtime ( 1 ) . rand ( 10000 , 99999 ) ) ; $ filePath = $ this -> tempDirPath ( ) . DIRECTORY_SEPARATOR . "temp" . $ md5 . ".png" ; $ this -> saveTo ( $ filePath ) ; $ uri = 'data:' . mime_content_type ( $ filePath ) . ';base64,' ; $ uri .= base64_encode ( file_get_contents ( $ filePath ) ) ; unlink ( $ filePath ) ; return $ uri ; }
Return data scheme URI.

@example
data:image/png;base64,iVBORw0KGgoAAAANSUhEU...
@return string
Return data scheme URI .