Hi,
I'm looking for a solution to convert my fill pattern which looks like this:
<pattern id="diagonalHatch" patternUnits="userSpaceOnUse" width="4" height="4" patternTransform="rotate(45 2 2)"> <path d="M -1,2 l 6,0 M 2,-1 l 0,6" style="stroke:#000000; stroke-width:1" /> </pattern>
and then:
fill="url(#diagonalHatch)"
to explicit paths, cause in my use case I cant use the fill argument, everything must be paths. For now I convert my svg to pbm and back to svg, this is quick'n'dirty but was the only solution I found til now.
I want to do this automated on linux, so I'm looking for a cli solution so I can integrate it into my process.
Is this even possible with inkscape or are there other tools I could use?
Regards Matthias
Hi Matthias, I'm glad you found the mailing list for this. As I mentioned, I don't use the CL at all. But I think you'll get a good answer here :-)
All best, brynn
-------------------------------------------------- From: <spam@...3251...> Sent: Tuesday, November 22, 2016 1:21 AM To: inkscape-user@lists.sourceforge.net Subject: [Inkscape-user] fill pattern to explicit paths
Hi,
I'm looking for a solution to convert my fill pattern which looks like this:
<pattern id="diagonalHatch" patternUnits="userSpaceOnUse" width="4" height="4" patternTransform="rotate(45 2 2)"> <path d="M -1,2 l 6,0 M 2,-1 l 0,6" style="stroke:#000000; stroke-width:1" />
</pattern>
and then:
fill="url(#diagonalHatch)"
to explicit paths, cause in my use case I cant use the fill argument, everything must be paths. For now I convert my svg to pbm and back to svg, this is quick'n'dirty but was the only solution I found til now.
I want to do this automated on linux, so I'm looking for a cli solution so I can integrate it into my process.
Is this even possible with inkscape or are there other tools I could use?
Regards Matthias
Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
participants (2)
-
unknown@example.com
-
Brynn