title: Effective way to convert SVG <path d=""></path> to DXF LWPOLYLINE (or suggest other entry)
body: <p>We need to insert a lot of SVG images into DXF file. We use NodeJS and self-written library for creating DXF files. The problem is that the DXF file is very big - 32 Mb with only one image. There are very long lines in source SVG file like this: '&lt;path fill=&quot;none&quot; stroke=&quot;#000000&quot; stroke-width=&quot;.5&quot; d=&quot;M451.07 249.17L451 249.35M451 249.35L450.82 249.42M450.82 249.42L450.65 249.35M450.65 249.35L450.57 249.17M450.57 249.17L450.65 249M450.65 249L450.82 248.92M450.82 248.92L451 249M451 249L451.07 249.17M450.61 224.83L450.53 225M450.53 225L450.36 225.08M450.36 225.08L450.18 225M450.18 225L450.11 224.83M450.11 224.83L450.18 224.65M450.18 224.65L450.36 224.58M450.36 224.58L450.53 224.65M450.53 224.65L450.61 2...' and as a result our code creates a lot of LWPOLYLINE entries within DXF file.</p>
  <p>It seems the SVG format is much more compact than DXF. Is there any way to reduce the size of DXF file perhaps by using other DXF entity than LWPOLYLINE? Or perhaps there is any other solution.</p>
  <p>Thank you.</p>