change size of document to fit the image size.

Asked by Jakub Jankiewicz on 2011-03-16

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

File->Document_properties
Select document
CTRL+A
copy width
select dialog
past into width
the same with height
CTRL+SHIFT+A
align to center of the page

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

Question information

Language:
English Edit question
Status:
Solved
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Last query:
2011-03-16
Last reply:
2011-03-17
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.

Usage:
- 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 Jankiewicz (jcubic) said : #3

Great thanks.

su_v (suv-lp) said : #4

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

jazzynico (jazzynico) said : #5

Closing it solved!