Highlighted

Vector Graphics Exchange Format with Variable Stroke Width (like Illustrator)

New Here ,
Nov 01, 2020

Copy link to clipboard

Copied

Hi,

I’m looking for a way to import vector graphics generated in another program (actually by a Matlab scrip) into Illustrator. The difficulty is that I have to find a way to get stroke-width information to illustrator, not just the path. SGV supports stroke-width, but AFAIK there is now way to have the stroke-width change along the path. 

 

Any idea what file format I could use? 

 

I noticed that the latest Version of AI EPS supports this, but I was not able to find specifications for the format and reverse engineering it from a EPS exported from Illustrator does not seem to be easy.

 

cu

flo

TOPICS
Import and export

Views

55

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Vector Graphics Exchange Format with Variable Stroke Width (like Illustrator)

New Here ,
Nov 01, 2020

Copy link to clipboard

Copied

Hi,

I’m looking for a way to import vector graphics generated in another program (actually by a Matlab scrip) into Illustrator. The difficulty is that I have to find a way to get stroke-width information to illustrator, not just the path. SGV supports stroke-width, but AFAIK there is now way to have the stroke-width change along the path. 

 

Any idea what file format I could use? 

 

I noticed that the latest Version of AI EPS supports this, but I was not able to find specifications for the format and reverse engineering it from a EPS exported from Illustrator does not seem to be easy.

 

cu

flo

TOPICS
Import and export

Views

56

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Nov 01, 2020 0
Adobe Community Professional ,
Nov 01, 2020

Copy link to clipboard

Copied

There is no "latest version of AI EPS".

 

EPS is last century's file format. The last time it has been updated, was in 1997.

An AI-EPS is basically an EPS 3 (from 1997) that has a private data fork. In this private data fork there is an AI file (of the version you specify when saving). The only application that can generate this kind of file is Adobe Illustrator. The only app that can read the embedded AI file is Adobe Illustrator (or more specifically: that version that has been specified).

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 01, 2020 0
New Here ,
Nov 01, 2020

Copy link to clipboard

Copied

Hi Monika,

thanks for the clarification. I already suspected this, as Adobe calls it Illustrator EPS and a single strait line blows up to a AI EPS file with almost 10000 lines instead of 10.

 

Any alternatives?

 

cd
flo

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 01, 2020 0
Adobe Community Professional ,
Nov 01, 2020

Copy link to clipboard

Copied

There are no alternatives.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 01, 2020 0
Most Valuable Participant ,
Nov 01, 2020

Copy link to clipboard

Copied

These are proprietary non-standard functions that merely modulate the contours. Since they are programmatic, i.e. based on code and functions their interpretation is entirely up to the program opening/ processing them and re-creating those functions. So technically you could have all the data in an SVG as a blob of custom data, but a browser would still ignore it since it's not part of the actual SVG rendering spec. Rinse repeat for other programs. Maybe Affinity Designer and CorelDraw have learned to interpret this sort of data in their latest versions now that they have similar features implemented, but I'm not up to speed on that, let alone have I ever tried myself. You could download a trial and see if they open your AI files with correct variable width strokes, though. Otherwise the only safe way is to convert this stuff to contours in a controlled fashion inside Illustrator before exporting to whatever format...

 

Mylenium

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 01, 2020 0
ristflo LATEST
New Here ,
Nov 02, 2020

Copy link to clipboard

Copied

Hi Mylenium,

thanks for your comment. I want to import into Illustrator.

 

The idea to ass custom data to a SVG might still be helpful. It would however require to create a custom SVG import plugin for Illustrator. Can this be done?

 

See you

flo 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 02, 2020 0
Resources