Exporting as an SVG in Adobe Illustrator canvas size issues

SparrwHawk picture SparrwHawk · Jun 21, 2012 · Viewed 32.7k times · Source

I'm having real trouble with saving a simple SVG in Adobe Illustrator.

Illustrator keeps imposing its own canvas size on the export.

This is what I'm doing...

1) Draw an art board around the image

enter image description here

2) File > Save As

3) Change type to SVG

When I view the result, Illustrator has seemed to have resized the canvas arbitrarilyenter image description here

How can I control this so I can get my own size?

Answer

Nicholas Credli picture Nicholas Credli · Mar 31, 2013

Your problem is that your SVG is being saved with the Artboard, which is set to the default document size.

Try using "Object > Artboards > Fit to Artwork Bounds" before you save.