Mobile app version of vmapp.org
Login or Join
Candy945

: 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

@Candy945

Posted in: #AdobeIllustrator #Svg #Vector

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

10.04% popularity Vote Up Vote Down


Login to follow query

More posts by @Candy945

4 Comments

Sorted by latest first Latest Oldest Best

 

@Margaret771

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.

10% popularity Vote Up Vote Down


 

@Carla748

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

10% popularity Vote Up Vote Down


 

@Si6392903

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.

10% popularity Vote Up Vote Down


 

@Smith574

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme