Advertisement


Getting rid of Whitespace in Inkscape


Question

Is there a way in Inkscape to set the boundaries of the svg file the way they would be set if you export as a bitmap?

I want that there's no whitespace above, beneath, right or left of the object that I select.

2014/09/19
1
75
9/19/2014 2:13:00 PM

Accepted Answer

In the latest version of Inkscape (0.92.2 at this time), you can go to Edit → Resize Page to Selection or press Ctrl+Shift+R.

2019/01/07
28
1/7/2019 1:48:00 PM

To modify the document bounding box:

  1. Go to File → Document Properties... (or press Shift +Ctrl + D)
  2. In the Custom size area on the Page tab, expand Resize Page to content... (or press Alt + Z)
  3. Click the Resize page to drawing or selection button (or press Alt + R)

You can add margins if you like

Document properties dialog

2013/10/01