Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: .ai and .svg file writing

by vr (Curate)
on Mar 12, 2020 at 12:08 UTC ( [id://11114172]=note: print w/replies, xml ) Need Help??


in reply to .ai and .svg file writing

Native Illustrator format is sort of "augmented Postscript", see the spec, AFAIK this was last official document for 20+ y.o. version. New features were added of course, but the core and syntax remain the same. Among free tools, both Inkscape (regardless of what they claim on linked page) and sk1 have long dropped support for exporting to ai. Online, here I succeeded with conversion, (while the link which tobyink provided has failed), looks like some old version of sk1 uniconvertor was used on the server, and indeed some very old ai file (version 5, 25+ y.o.) was produced.

Is this necessary at all? For the last 20 years, ai are saved as pdf (file extension doesn't matter), with pdf as "envelope" and "ai" hidden inside as private data. Worth checking -- change extension to ai, will Illustrator silently import the pdf "envelope"? I suspect it might, so receiving side won't even know. Then, experiment a little, which Perl distribution (PDF::API2, etc.) produce cleanest (or just good enough) pdf code for your kind of data (I mean, since PDF is "machingen for machines", source never seen by human eyes, there may be ugly redundancies, etc.). Of course, if consumer is strongly serious about "ai only", this little cheat won't do, no choice but use Adobe (or more expensive) tools.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11114172]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2024-04-24 17:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found