: Margins in EPS File in Adobe Illustrator I have an .eps file that contains an outline map of the US, which I generated in R. I want to open it in Adobe Illustrator and add some lines by
I have an .eps file that contains an outline map of the US, which I generated in R.
I want to open it in Adobe Illustrator and add some lines by hand.
My problem is that the original .eps file has a margin of whitespace around the edge of the map, which I want to keep, but after I open the .eps file in AI and then re-save it (regardless of whether or not I add in any lines first), the image has been resized so that it is just large enough to contain the map and the margins are gone so the two images no longer align.
I've posted before and after shots below, which I converted to .png to post. It's hard to see the difference, but you can see it if you compare the left-side margin.
The hack I came up with was to put a white rectangle that is larger than the map in the background to preserve the margins but I'm worried that might have some unintended consequences down the line and I'd like to know how to do it properly.
Many thanks in advance,
JG
More posts by @Merenda852
1 Comments
Sorted by latest first Latest Oldest Best
This is because the eps file you're saving as is not including the artboard. The reason the white box in the background works is because the eps file saves the white box. I would not advise using the white box background method and start saving as a PDF document. Also you can turn the white box into no fill and no stroke and it would do the same thing.
You can save an eps file with the artboard. Make sure "use Artboards" is checkmarked.
There are a couple of things to consider when saving:
Are you going to save this for print? If yes then save as a PDF. This will save the size of the artboard. You can always "Preserve Illustrator Editing Capabilities" if you ever need to edit the PDF.
Are you printing for web? I would save as an SVG file and then add border using code.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.