Convert SVG image with filters to PNG /PDF
Posted
by
user1599669
on Stack Overflow
See other posts from Stack Overflow
or by user1599669
Published on 2012-09-26T04:41:16Z
Indexed on
2012/10/23
17:01 UTC
Read the original article
Hit count: 189
I have the following svg image to the png image & pdf image with 300 DPI.
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Created with SVG-edit - http://svg-edit.googlecode.com/ -->
<defs>
<filter height="200%" width="200%" y="-50%" x="-50%" id="svg_1_blur">
<feGaussianBlur stdDeviation="10" in="SourceGraphic"/>
</filter>
</defs>
<g>
<title>Layer 1</title>
<image filter="url(#svg_1_blur)" xlink:href="images/logo.png" id="svg_1" height="162.999996" width="223.999992" y="99" x="185"/>
<text xml:space="preserve" text-anchor="middle" font-family="serif" font-size="24" id="svg_2" y="210" x="289" stroke-width="0" stroke="#000000" fill="#000000">sdfdsdsfsdf</text>
</g>
</svg>
I want to do this using PHP and I have applied filters to the blur filter to the image and I want to retain that.
Also I have problem in viewing this image in the IE, because it doesn't show the blur effect on IE9. Any suggestions?
© Stack Overflow or respective owner