Re: eps not drawing properly
Re: eps not drawing properly
- Subject: Re: eps not drawing properly
- From: David Rehring <email@hidden>
- Date: Thu, 02 May 2002 14:53:38 -0700
On 5/2/02 2:40 PM, Chris Meyer at email@hidden wrote:
>
I've got an NSImage that I've loaded from an .eps file. The bounds of
>
the image are correct but when I draw the image all I get is a box with
>
an X through it and something like "EPS ( 281 x 136 )" in the middle.
>
>
I've tried different EPS files saved in CMYK, RGB, older versions, etc.
>
but with no luck.
>
>
Has anyone seen this and solved the issue before? Are there restrictions
>
on what .eps files are loadable? Does anyone have a .eps file that
>
they've successfully displayed using NSImage?
>
>
Any other info is greatly appreciated.
Yes. There is a limitation on the kind of .eps files that NSImage supports.
They can't contain any PostScript. More specifically, they probably need to
be able to be in a format understood by QuickTime.
OS X is NOT NeXT/OpenStep. There's no DPS interpreter in OS X.
You'll need to find a way to image the PostScript yourself [using
GhostScript perhaps].
Later,
--
David Rehring Psychos do not explode when light hits
Senior Software Engineer them, no matter how crazy they are...
Atimi Software, Inc.
www.atimi.com And totally insane guy!
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.