Inkscape can not read its own .ai file

Post questions on how to use or achieve an effect in Inkscape.
gregblancher

Inkscape can not read its own .ai file

Postby gregblancher » Fri Mar 19, 2010 7:41 pm

I am running inkscape 0.46 on Fedora 10.

I saved 2 drawings in Adobe Illustrator 8.0 format because I need to send them to a silk screen shop that only accepts .ai. Unfortunately, I realized I need to edit them before I can send them, but inkscape can not read its own .ai files. When I try and reopen them, I get this:

Error: May not be a PDF file (continuing anyway)
Error: PDF file is damaged - attempting to reconstruct xref table...
Error: Couldn't find trailer dictionary
Error: Couldn't read xref table
** Message: PDF file was damaged and couldn't be repaired.

The only program I have found that can open these files so far is gsview. The files look fine when I view them, but of course I can not save them as any other format.

Can anyone give me some guidance on how to:

A) Recover these files in a vectorized format so I can edit them
B) Save these files in .ai format so that the silk screen shop can read them.

I apologize if this is a frequent problem. I did a quick scan of the site and didn't see anything similar.

Thank you for your assistance,

Greg

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: Inkscape can not read its own .ai file

Postby microUgly » Fri Mar 19, 2010 8:33 pm

First thing first, when using Inkscape, always save your original drawing as SVG. Only the copies should be AI. This is general advise for any file editing program--always work with the applications native file format and convert it when needed.

Having said that, to view the AI, try opening it in Acrobat Reader. As far as re-opening the file, I can't offer any advise to except to use a third party tool to convert it to PDF and open that.

hjalle
Posts: 89
Joined: Wed May 20, 2009 8:42 pm

Re: Inkscape can not read its own .ai file

Postby hjalle » Sat Mar 20, 2010 4:37 am

Karbon14, Xara Xtreme, Skencil is other open source vector Linux program, maybe some of them can open AI, I don't know.

User avatar
sas
Posts: 404
Joined: Sat Oct 06, 2007 5:42 am

Re: Inkscape can not read its own .ai file

Postby sas » Sat Mar 20, 2010 5:07 am

gregblancher wrote:Error: May not be a PDF file (continuing anyway)

I think this is the problem - Inkscape's AI import is only intended for AI 9 (and higher) files, which are really PDF. Older AI files are PostScript rather than PDF. For some reason, Inkscape isn't able to autodetect the version and use the appropriate import method (or, at least, this is how I remember it - I haven't got any AI files to test at the moment).

Anyway, you should be able to open AI 8 files by using the PostScript import option. (Note that PostScript import requires Ghostscript.)


Return to “Help with using Inkscape”