eps import won't work.

Next
 From:  Crusoe the Painter (CRUSOE)
2085.1 
I checked the file, it appears to be pretty simple paths. The eps was exported from Inkscape, and MOI gives no feedback as to what is wrong.

I've attached the eps. I can't believe that importing this is somehow easier than reading paths in SVG. EPS utilizes a full stack based programming language to draw curves.
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  tyglik
2085.2 In reply to 2085.1 
MoI doesn't incorporate full postscript interpreter... you can print that eps to pdf first using your favourite program then import it to MoI, though. -Petr
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
2085.3 In reply to 2085.1 
Hi Crusoe, thanks for posting the file.

> I can't believe that importing this is somehow easier than reading paths in SVG.

It isn't exactly - and actually MoI will not parse fully generic EPS files that contain more arbitrary postscript code, it will only handle ones that follow the same general subset structure as .AI files. But that tends to be a fairly common way for EPS files to be structured.

In this case if you do a search and replace of "curveto" with "c" and also "moveto" with "m", then this file can be opened with MoI.

One of the things that is a little different with EPS files is that they can often have the operators as different things than what are legal in AI, like I've seen the "c" operator done as "cv" or "ct" in different types of EPS files.

There was actualy some code in MoI's importer that wanted to use curveto and moveto as aliases for those operators as well, but it was busted because it would not get to it if the operator had more than 2 characters. It should be easy to fix this for the next beta.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Crusoe the Painter (CRUSOE)
2085.4 In reply to 2085.3 
I guess then, I don't understand why MOI doesn't provide basic SVG support, as the definition and syntax of curves is much simpler and always consistent.

I will try your suggestion.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
2085.5 In reply to 2085.4 
Hi Crusoe,

> I guess then, I don't understand why MOI doesn't
> provide basic SVG support

Just the same reason as everything else - I have not yet had time to get to that. It is on my todo list though.

Typically any kind of file format type work (especially importing) tends to be much more time consuming than you might at first guess.

The SVG spec (available here as PDF) is a 719 page document. It will take some time to read that over and understand all the details.

Some areas which can tend to make things more complex are finding whether stuff like grouping, nesting things, and transforms tend to be commonly used or not.

AI format has been around for a lot longer (so more broadly supported except by Inkscape as an anomaly) and was requested by more people so that got the attention first...

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael Gibson
2085.6 In reply to 2085.1 
Hi Crusoe, I have tuned up the next v2 beta so that it can read this EPS file now, although it comes in upside-down since it does not read the transforms out of EPS.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All