Edit 2015-03-21: I updated the script to support Inkscape 0.91. It should work with the older Inkscape version too, but in any case, here is the old script.
This script converts an Inkscape SVG to Adobe Illustrator 7 compatible EPS. The generated EPS file uses custom Illustrator PS operators, and includes PostScript processes that stands in place of said operators when the file is not opened with Adobe Illustrator.
The script exports layers, groups, paths, clones, clipping paths, fill, stroke, gradient fill into a format that Illustrator understands.
This script is not extensively tested. Since its dual nature, it is possible, that the result looks different in Illustrator than in other programs.
I wrote it to upload clipart to microstock sites: I’ve already uploaded a dozen images exported with this script and they were all accepted.
Download this file, and unzip the contents into the Inkscape extensions folder:
Windows C:\Program Files\Inkscape\share\extensions
- Text is not supported: convert them to paths, then ungroup them. You can regroup them afterwards, but without ungrouping, my script may think they are invisible.
- Path node types are not retained.
- Circles and elliptical arc segments in paths are converted to bezier curves.
- Layer names lose non 7 bit ASCII characters.
- Radial gradients cannot be elliptical, all radial gradients will be converted to circular. (Although I think it is possible to save elliptical radial gradients, but it seems that it might not be compatible between different Illustrator versions.)
- Outline gradients are not supported. (Illustrator 7 does not support them.)
- Clones are exported as copies.
- No transparency: everything is exported opaque. (EPS does not support transparency.)
- Filters (including radial blur) are not exported.
- Path effects are not exported, only the result of the effects.
(It’s not a bug, it’s a feature!)
- Automatically closes all paths that are filled. It makes visual difference with unclosed paths that have fill and stroke.
- Invisible objects are not exported (invisible layers and objects, objects with neither stroke nor fill, stray points)