Re: EPS to NSBezierPath
Re: EPS to NSBezierPath
- Subject: Re: EPS to NSBezierPath
- From: Rustam Muginov <email@hidden>
- Date: Tue, 11 Jan 2005 11:54:38 +0300
On 1/1/05 10:39 PM, "Lorenzo" <email@hidden> wrote:
> Hi list,
> I am still trying to extract NSBezierPath from an EPS file created by
> Illustrator.
> It seems to be so complicated. I have downloaded GhostScript just to have an
> idea about that but it's even more complicated. Same thing for the Adobe
> document describing the file format. I can't believe that extracting a list
> of points from a text document is so complicated. Even considering the
> transformation matrix it should be easy. So I ask:
>
> Is a simple way to get the bezier paths from an EPS file?
No way.
Postscript is a programming language. The task you trying to solve is as
complex as to scan through C/C++ source code which draws something to the
screen and to find the bezier paths in it.
> Any "small" sample code? A tutorial?
No.
The Postscript Language Reference Manual, downloadable from Adobe site, has
1000+ pages.
> At least, how can I get info from the pasterboard containing a bezierPath
> copied from Illustrator?
>
I think the only "simple" way would be not to analize the EPS file, but to
develop a plug-in for Illustrator.
Plug-ins could access "artworks" in the Illustrator documents and get the
info you need.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden