I'm having an issue with converting svg pattern image backgrounds using inkscape. The output has a stroke around the pattern divides.
Image Magick Version : 7.0.8-33
OS : Mac OS 10.14.2
Code: Select all
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="2758" height="3886" viewBox="0 0 441.28000000000003 621.76" xml:space="preserve">
<defs>
<pattern id="SVGID_1" x="0" y="0" width="0.225" height="0.15">
<image x="0" y="0" width="400" height="400" xlink:href="file:////ABSPATH/TO/PATTERN.png"></image>
</pattern>
</defs>
<rect transform="translate(220.64000000000001,310.88)" x="-220.64000000000001" y="-310.88" width="441.28000000000003" height="621.76" fill="url(#SVGID_1)"></rect>
<g transform="matrix(1 0 0 1 220.64 194.02)" style="" >
<text xml:space="preserve" font-family="Open Sans" font-size="40" font-style="normal" font-weight="normal" style="stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; fill: rgb(255,255,0); fill-rule: nonzero; opacity: 1; white-space: pre;" ><tspan x="-92.48" y="12.57" >Edit text...</tspan></text>
</g>
</svg>
Code: Select all
convert -verbose 47-preview.svg test.pdf
'inkscape' '/var/folders/xp/jg25q_ws4tz9h1vj5ybqjmlh0000gn/T/magick-644318DHR_pixeebN' --export-png='/var/folders/xp/jg25q_ws4tz9h1vj5ybqjmlh0000gn/T/magick-644317ZEoFyeuzvbI' --export-dpi='96,96' --export-background='rgb(100%,100%,100%)' --export-background-opacity='1' > '/var/folders/xp/jg25q_ws4tz9h1vj5ybqjmlh0000gn/T/magick-644310cS9BdGpRsYM' 2>&1
/var/folders/xp/jg25q_ws4tz9h1vj5ybqjmlh0000gn/T/magick-644317ZEoFyeuzvbI PNG 2758x3886 2758x3886+0+0 8-bit sRGB 3.28874MiB 1.920u 0:00.490
47-preview.svg SVG 2758x3886 2758x3886+0+0 8-bit sRGB 3.28874MiB 0.000u 0:00.000
47-preview.svg=>test.pdf SVG 2758x3886 2758x3886+0+0 8-bit sRGB 3.07023MiB 5.570u 0:04.799
Here is the generated image:
https://www.dropbox.com/s/dqpm74g9lefeify/test.jpg?dl=0
Any help would be greatly appreciated.
Thanks