Closed Gulix closed 6 years ago
Seems to be an "Inkscape" issue. When viewing the SVG in Firefox / Chrome, it looks OK (background is not displayed). When opening it in Inkscape, the background is displayed.
The SVG code looks like this :
<image xlink:href="file:///E:/****/dw-svg/background.png"
x="-225.5" y="-314"
style="stroke: none; stroke-width: 0; stroke-dasharray: none; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; fill: rgb(0,0,0); fill-rule: nonzero; opacity: 1; visibility: hidden;"
width="451" height="628" preserveAspectRatio="none"></image>
The visibility: hidden
is not used by Inkscape.
I will move this bug to future release, and link it to #161. Not passing the invisible elements to the canvas should resolve this Issue. Also, need to look into other SVG editors / viewers to see if this is only an Inkscape issue.
For example, with dw-lieu template. There is a PNG background that is not displayed in the canvas (visible: false). When exporting to SVG, the background is visible. Not cool ...