How to save with correct size?

Post questions on how to use or achieve an effect in Inkscape.
konrad4096
Posts: 2
Joined: Fri Aug 26, 2011 4:45 pm

How to save with correct size?

Postby konrad4096 » Fri Aug 26, 2011 4:58 pm

Hi,

When I create let's say a box (converted to paths), of size 1561x1561 and then save it to .svg, what I get is this (svg code):

Code: Select all

 <g
   id="Layer_x0020_1"
   transform="scale(2.5895519,2.5895519)">
  <path
   style="fill:none;stroke:#2a2a29;stroke-width:0.18703599"
   d="m 0.0935176,0.0935176 158.9810024,0 0,158.9810024 -158.9810024,0 z"
   id="rect10"
   inkscape:connector-curvature="0" />
 </g>


As you can see, the path goes from 0.09 to ... 158.98, os finally, it's size is 158x150px.

I really need to force Inkscape to put correct (as in document) values right there, is there any way to accomplish this?

The reason is that those files are then rendered on a website, and must have a specific size, but I have problems when scaling them on my own (actually there are no problems with this box example, but there are with more sophisticated images with more paths).

konrad4096
Posts: 2
Joined: Fri Aug 26, 2011 4:45 pm

Re: How to save with correct size?

Postby konrad4096 » Wed Aug 31, 2011 5:24 pm

Hi,

I just want to say that I have managed to do this by first removing the width and height properties from a document in any text editor, and then reopening a document in Inscape.


Return to “Help with using Inkscape”