Hi there! I hope, my question is allowed in this discussion board.
Is there already a feature in ImageMagick somewhere, which makes SVG paths look like they have been written by hand?
Right now, my import looks like this:
When I aim for something looking more like this:
Any help or advice for the right direction would be highly appreciated.
Is there a feature to draw SVG paths like handwriting?
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Is there a feature to draw SVG paths like handwriting?
IM is a raster image processor. It won't modify SVG paths. It ran only rasterise them.
When rasterised, it can do whatever you want, eg blur and apply levels, but I can't see what might make your required output from that input.
When rasterised, it can do whatever you want, eg blur and apply levels, but I can't see what might make your required output from that input.
snibgo's IM pages: im.snibgo.com
Re: Is there a feature to draw SVG paths like handwriting?
Thank you for the reply! However, I'm sorry, my question might have been unclear.
Right now, ImageMagick "paints" the path like the first image above when I import the SVG path and save it as a PNG file. This works well.
But in the end, I'd like to have an PNG file which looks like the second image above. I'd like to use ImageMagick to "paint" the path like handwriting.
ImageMagick doesn't have to modify my SVG paths. I'm looking for a way to "paint them differently".snibgo wrote:IM is a raster image processor. It won't modify SVG paths.
Right now, ImageMagick "paints" the path like the first image above when I import the SVG path and save it as a PNG file. This works well.
But in the end, I'd like to have an PNG file which looks like the second image above. I'd like to use ImageMagick to "paint" the path like handwriting.
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Is there a feature to draw SVG paths like handwriting?
IM will paint the path it is given. It won't "paint them differently".
Inkscape may contain a feature to do that.
Inkscape may contain a feature to do that.
snibgo's IM pages: im.snibgo.com
Re: Is there a feature to draw SVG paths like handwriting?
Oh, okay. I'm sorry. I must have misunderstood a principal behind SVGs. I thought, SVGs "store" paths and I would be able to tell ImageMagick to use the path to know where to paint and use a - for example red and 10 px wide - "brush stroke" along the path.snibgo wrote:IM will paint the path it is given. It won't "paint them differently".
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Is there a feature to draw SVG paths like handwriting?
Within the SVG language, you can have a "defs" section that defines paths each with an ID, then later in the SVG you can draw any of those path IDs with whatever characteristics (stroke wdth, colour etc) you want. Or you can use a path ID as the basis for doing something else, eg for laying out text.
I don't know of anything in SVG that does what you want, but that's the place to look, not ImageMagick.
I don't know of anything in SVG that does what you want, but that's the place to look, not ImageMagick.
snibgo's IM pages: im.snibgo.com