Open jasomdotnet opened 7 years ago
Thanks @jasomdotnet ! I will check out the article as time permits, but if possible, could you make a PR for these issues? I would really appreciate if you can get something together
"but if possible, could you make a PR for these issues?"
I didn't get this. What is PR? PublicRelations? PRopaganda? :-)
Code before:
color-interpolation-filters="sRGB"
for removal of color cascade
#7 feComponentTransfer
for removal of semi-transparent borders #5Code after:
Generally, I recommend you to make background-blur
able to generate same svg
code as in article mentioned above, because @emilbjorklund, the author, seems to be more sophisticated user then me or you :-) when it comes to svg
images.
@emilbjorklund uses also edgeMode="duplicate"
or filterUnits="userSpaceOnUse"
which I don't know what it does but it can backfire for some users with older browsers (IE8, IE9, IE7...) if omitted.
This is the complete svg
code from an article:
`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1500" height="823" viewBox="0 0 1500 823">
<image filter="url(#blur)" xlink:href="https://www.example.com/image.jpg" x="0" y="0" height="100%" width="100%"/> `
how can i implement background, motion and zoom blur in svg without css
Add 'feComponentTransfer' into svg filter in order to remove semi-transparent edges:
Now you fix it by this:
See this article.