Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!lll-winken!aunro!ersys!drin From: ersys!drin@nro.cs.athabascau.ca (Adrian Smith) Newsgroups: comp.sys.next Subject: Re: graphics in WriteNow 2.0 Message-ID: <3LBuZ1w164w@ersys.uucp> Date: 3 Apr 91 18:23:37 GMT References: <425@rosie.NeXT.COM> Organization: Edmonton Remote Systems, Edmonton, AB, Canada Lines: 44 aozer@next.com (Ali Ozer) writes: > > Your .eps file probably isn't a totally valid; ie, it's missing some > required component in the header or the bounding box. Under 1.0, WriteNow > parsed .eps files itself; under 2.0, it uses NeXTstep's .eps parser, which is > somewhat more sensitive about errors. > > Your 1.0 WriteNow document knew the image size, so under 2.0 the area the > image would've occupied is shown correctly, although the image isn't displaye > When you try to put the image in a new document using 2.0 WriteNow, the file > isn't parsed, so WriteNow never even finds out about the bounding box. > That explains the mystery of why your original document has some idea of > the size of the image and why a new one doesn't. > > Your .eps file should minimally have something like the following in its > header: > > %!PS-Adobe-2.0 > ... possibly other lines starting with %% ... > %%BoundingBox: 100 20 600 750 > > ... > > > Ali, Ali_Ozer@NeXT.com > > Is that the ONLY difference between .ps and .eps files? Right now I'm trying to convert WriteNow .ps files to .eps to import them into an Amiga DTP package that will handle .eps (I don't have a NeXT printer yet) and print them out. I've been told that the only difference is in the header, and if it's a matter of putting the BoundingBox at the beginning, rather than (atend), great. If it's more than that, can you (or anyone else) tell me what it is? Thanks, -drin Adrian Smith ersys!drin@nro.cs.athabascau.ca Edmonton Remote Systems: Serving Northern Alberta since 1982