Export not the same size

SharkD shared this question 4 months ago
Answered

You can see in the image that the Export_1 and Export_2 points form a box that is 2000x1500 units. In the export dialog I have set 100 units = 1 cm. However, the exported SVG image is 20.04x15.06 cm. Are there any tricks to make the export image closer in size to what I intended? Thanks.

Best Answer
photo

Never mind! I can edit the SVG in Notepad.


I can fix the sizes by changing this:


<svg 
     version="1.1"
     baseProfile="full"
     xmlns="http://www.w3.org/2000/svg";
     xmlns:xlink="http://www.w3.org/1999/xlink";
     xmlns:ev="http://www.w3.org/2001/xml-...;
     width="20.04cm"
     height="15.06cm"
     viewBox="0 0 667 500"
     >


to this:


<svg 
     version="1.1"
     baseProfile="full"
     xmlns="http://www.w3.org/2000/svg";
     xmlns:xlink="http://www.w3.org/1999/xlink";
     xmlns:ev="http://www.w3.org/2001/xml-...;
     width="20cm"
     height="15cm"
     viewBox="0 0 666.666667 500"
     >


Very simple! Yay!

Comments (1)

photo
1

Never mind! I can edit the SVG in Notepad.


I can fix the sizes by changing this:


<svg 
     version="1.1"
     baseProfile="full"
     xmlns="http://www.w3.org/2000/svg";
     xmlns:xlink="http://www.w3.org/1999/xlink";
     xmlns:ev="http://www.w3.org/2001/xml-...;
     width="20.04cm"
     height="15.06cm"
     viewBox="0 0 667 500"
     >


to this:


<svg 
     version="1.1"
     baseProfile="full"
     xmlns="http://www.w3.org/2000/svg";
     xmlns:xlink="http://www.w3.org/1999/xlink";
     xmlns:ev="http://www.w3.org/2001/xml-...;
     width="20cm"
     height="15cm"
     viewBox="0 0 666.666667 500"
     >


Very simple! Yay!

© 2019 International GeoGebra Institute