: When I save as .SVG it adds extra whitespace width to the document I have my image on the artboard and have clicked Object > Artboards > Fit to artboard bounds. When I save an SVG
I have my image on the artboard and have clicked Object > Artboards > Fit to artboard bounds.
When I save an SVG I get extra whitespace at the bottom, how can I just save whats in the artboard? I have even selected just the 'artboard 1' in the save options, still whitespace.
Here is what am I talking about
More posts by @Candy945
4 Comments
Sorted by latest first Latest Oldest Best
You need to save the .svg as a copy, not go through the File > Scripts > SaveDocsAsSVG option. The save as copy gives you the option to save artboards or not. You can also check the XML code before saving too with this route.
I just came across a similar problem and found that if you untick Responsive in the More options panel in the svg export save as thing it stops the extra whitespace. Not sure what this is or why it is ticked by default. Using creative cloud, not sure if that option is in earlier versions
It is my experience that svg files often carry with them hidden elements. I use the direct selection tool (A) to capture just what I need from the svg file and then copy that to a new file.
In the Illustrator save dialog, there is an option where you can check 'Use Artboards'. Check this and it will save the image to the exact size of your artboard.
EDIT (from comment)
When using the Save As... dialog, it will save the artboard-cropped file as filename-01.svg. (note the -01 suffix). I assume you're checking that file, which means it is likely a bug in AI.
Try exporting as an .eps with artboard on, then export that to a .svg. Otherwise you may need to remove all vectors outside the artboard manually. Check for stray vectors, and if anything is hanging out over the edge of the artboard, try using the Pathfinder tool to manually crop to the artboard.
As a last resort, you can also edit the .SVG file in a code editor as it is XML based.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.