I've been searching for a solution to give a blur effect to a background for IE10+.
I have found StackBlur and make it worked but it is slow in my case because i have a big background and want to have it rendered as fast as possible.
You know there is a svg filter for blur effect and it works fine when you have a svg content like this one
<svg width='331' height='500' id='svgroot'><defs><filter id='blur'><feGaussianBlur stdDeviation='4' data-filterId='1'/></filter></defs><image filter='url(#blur)' xlink:href='http://dpc1.ftcdn.net/jpg/00/65/54/88/500_F_65548876_vDfTzTY0Bq7xVdbJH92kLpPy37FDVF5G.jpg' height='100%' width='100%'/></svg>
What i want to do is, take this svg image and use as background image. It must be a css background. I found this fiddle when searching for a solution http://jsfiddle.net/vPA9z/3/ So i assume it is possible but why this is not working http://jsfiddle.net/N2n27/2/
var mySVG2 ="<svg width='331' height='500' id='svgroot'><defs><filter id='blur'><feGaussianBlur stdDeviation='4' data-filterId='1'/></filter></defs><image filter='url(#blur)' xlink:href='http://dpc1.ftcdn.net/jpg/00/65/54/88/500_F_65548876_vDfTzTY0Bq7xVdbJH92kLpPy37FDVF5G.jpg' height='100%' width='100%'/></svg>";
var mySVG64 = window.btoa(mySVG2);
$('body').css({
"background-image": "url('data:image/svg+xml;base64,"+mySVG64+"')"
});
I tried to convert the Base64 but still no luck.