I just exported a shape from photoshop as a path and then filled it in illustrator. I now want to save the shape as an svg, or eps but I don't want to save all the excess whitespace around the object. I want it to be cropped to the dimensions of the object and not the artboard. How can I do this in Adobe Illustrator cs6?
You can set the artboard to match the outer dimensions of any object by selecting the object and choosing
Object > Artboards > Fit to Selected Art from the menu.
Select the artboard tool, delete the current artboard, then click on your object. Illustrator should create a new artboard at the exact dimensions of the object.
I am currently using CC, so I appologize if this option does not exist in CS6
When you open the "Save for Web" dialog, there is a check box that reads "Clip to Artboard". Un-tick that.
This will shape the final image to the size of the WHOLE art in the file, ignoring the artboards.
A nice shortcut, if Illustrator & the computer you're using aren't sluggish with the file you've got open, is to just hit the keystroke to "Save for Web".
If you've previously checked the "Clip to Artboard" box, which cockypup mentioned, it stays checked. So you'll get a preview that's clipped to artboard. Whack Esc to dismiss it.
On Adobe Illustrator CS6:
- Step1 > Double click on artboard tool.(Art board options window will appear)
- Step2 > click on 'preset' combo box.
- Step3 > Select 'Fit to Artwork Bounds' and click on 'ok'button.
And you are done!:)
Save the image as a .png file. make sure to check transparency.