![]() #-resolution 20 # dpi - for dimension-based backends tight # No margins, trim surrounding whitespace ![]() Use imagemagick to convert the source SVG (with embedded text) into an intermediate B&W PNM image, then use potrace to convert that to a DWG (or a flat SVG): #!/usr/bin/env bashĭeclare magick='/c/Program Files/ImageMagick-7.0.10-Q8/magick.exe'ĭeclare potrace='/c/Program Files/potrace-1.16.win64/potrace.exe'ĭeclare input_svg="$/SVG/intermediate.pnm"ĭeclare idim=2000x2000 # dimensions of intermediate pixel file I found a much easier way to accomplish this, avoiding Inkscape entirely:
0 Comments
Leave a Reply. |