change size of document to fit the image size.

Asked by Jakub T. Jankiewicz on 2011-03-16

In order to do this in inksacpe I need to do:

Select document
copy width
select dialog
past into width
the same with height
align to center of the page

I will be great if Inkscape have a toolbar button or menu which does that.

Question information

English Edit question
Inkscape Edit question
No assignee Edit question
Last query:
Last reply:
Alex Valavanis (valavanisalex) said : #1

Hi Jakub,

It's not quite as complicated as that. Just use the "Resize page to content" option in the Document Properties dialog. That should save you some time!

su_v (suv-lp) said : #2

If your summary is what you want to do - "change size of document to fit the image size." - why don't you simply use the button in 'Document Properties > Page > Resize page to content…'? There's no need to manually copy&paste of width&height values.

- if nothing is selected, the page size is resized to fit the drawing content
- if there is a current selection, the page size will be resized to fit the size of the selection.

Jakub T. Jankiewicz (jcubic) said : #3

Great thanks.

su_v (suv-lp) said : #4

(adding comment to make it disappear from the list of unanswered questions - @JazzyNico, could you close the question? thx)

jazzynico (jazzynico) said : #5

Closing it solved!