VectorStyler
    • Categories
    • Unread
    • Recent
    • Tags
    • Popular
    • Register
    • Login

    Export .SVG in mm (millimeter) instead of pixels

    Scheduled Pinned Locked Moved Questions and Support
    5 Posts 2 Posters 3.6k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      Moooztar
      last edited by

      Hi,

      I am currently trying to find a way to keep the document format of mm (millimeters) when exporting to .SVG. Inkscape and others seems to support this, but I cannot seem to find any "options" under the .SVG export for this.

      Thank you for any help!

      Moo.

      1 Reply Last reply Reply Quote 1
      • M Offline
        Moooztar
        last edited by

        Here is an example of an 14.09 mm x 38.52 mm object (export object only):

        <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
        <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
        <svg width="39.0307" height="109.2184" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xml:name="OrgTRACE">
        <defs/>

        1 Reply Last reply Reply Quote 0
        • M Offline
          Moooztar
          last edited by Moooztar

          To replicate this (figure out what is going on) I changed the document to px and kept the 300dpi (dpi is unnecessary in regards of exporting vectors by .svg), but had to change the dpi to 72 (screen dpi) before replicating the 40 x 109,2 size. So it seems that Vectorstyler exports without tagging the .svg file by format (millimeters) and that the default .svg is then that other apps read the missing px / mm as px and 72 dpi.

          Would be great if this could perhaps be added into a feature request if I am right?

          In short: When exporting to .svg there should be a routine by Vectorstyler to take into account that it needs to "set / convert" the object size to 72 dpi and to the corresponding chosen format (mm / px etc).

          VectorStylerV 1 Reply Last reply Reply Quote 1
          • VectorStylerV Offline
            VectorStyler @Moooztar
            last edited by

            @Moooztar There is no unit support (yet) for SVG export. I will open a bug on this.

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              Moooztar @VectorStyler
              last edited by

              @VectorStyler Wonderful! Thank you so much for all your updates to the software. It has become my "go to" vector app. 🙂

              1 Reply Last reply Reply Quote 2
              • First post
                Last post