Jump to content
You must now use your email address to sign in [click for more info] ×

Export to SVG enlarges drawing from 12X 8 to 40 X 26 inches


Recommended Posts

For absolute length units, Inkscape and other programs use the CSS defined value of 96 pixels per inch. In the Document Setup dialog you currently have the 'DPI' value set to 300; changing this to 96 (and allowing objects to rescale) will give you an SVG document whose physical size displays in Inkscape as 12.8" x 8.5".

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.4.1 (iPad 7th gen)

Link to comment
Share on other sites

It isn't a bug. You have a stroke applied to the bounding rectangle, and the values in the Transform panel intentionally disregard the stroke weight. If you change the stroke alignment to 'Inside' and set the 'DPI' value to 96, the dimensions reported by Inkscape are 1152.001 x 767.999 pixels; when exported with a 'DPI' value of 90, it opens in Inkscape at exactly 1080 x 720 pixels or 12 x 8 inches.

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.4.1 (iPad 7th gen)

Link to comment
Share on other sites

Thanks alot. It worked.

 

You're welcome. Thanks for the feedback. :)

 

Any reason why 90 instead of 96?

 

I dunno. A bug in Inkscape, perhaps? :unsure:

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.4.1 (iPad 7th gen)

Link to comment
Share on other sites

I think InkScape looks at 72 pp. But it's been a while since I really looked.

 

Image resolution in the document set-up should really only apply to non-vector effects. That's what other applications do and it doesn't muck up the document size.

 

I set up a page in XDP to 8" x 12" and exported. It had a simple rectangle sized to the page and some outlined text. When InkScape opened it, it reported 72 dpi. When the units were switched to inches, it reported the page size properly:

 

post-255-0-60318800-1483390420_thumb.png

 

When the same XDP-generated SBG file was opened in AD, AD also reported the page size properly:

 

post-255-0-99833300-1483390464_thumb.png

 

If SVG export doesn't do the same, no-brainer export as XDP and AI and InkScape--if one needs trial and error and/or a calculator--then its a bug. If it isn't technically a bug and is as designed, then whomever designed it this way needs to rethink the whys and wherefores of their decision making.

 

Mike

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.