🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.soft-sys.matlab
Article #45

Re: Purpose of %%BeginPreview ... %%EndPreview in eps files

#45
From: Douglas Gray Stephens
Date: Mon, 25 Jan 1993 09:45
35 lines
2112 bytes
In article <JNICOLAS.93Jan23001608@image.mit.edu> jnicolas@image.mit.edu (Julien Nicolas) writes:

   Eps files generated with 'print -deps' are huge. Unecessarily so it
   seems. They contain, at least under 4.0, a section with no information:

   %%BeginPreview: 560 420 1 420
   %ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
   ...
   %%EndPreview


MathWorks has always failed to generate good Encapsulated PostScript.
The PostScript Language Reference manual states that only required header
comments are:-

       %!PS-Adobe-3.0 EPSF-3.0
       %%BoundingBox llx lly urx ury

The preview image is required for Encapsulated PostScript interchange
format (EPSI) files, but matlab's print refers to EPSF files, which do
not require the image.

I believe that MathWorks had several discussions about this, and I'm
glad to say that version 4.0a corrects this feature, so the print
command now has an optional "-preview" argument.

I wish that MathWorks get its house in order and generate the correct
BoundingBox for its EPS files.

--
----------------------------------------------------------------------------
Dr. Douglas GRAY STEPHENS                e-mail : gray@scr.slb.com   
Schlumberger Cambridge Research          Tel/fax: 0223-325303 / 0223-311830
P.O.Box 153, Cambridge CB3 0HG, England  (International prefix for UK: 44)
============================================================================
Technical Details
Message-ID: <GRAY.93Jan25094538@snow.scr.slb.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!geraldo.cc.utexas.edu!slcs.slb.com!leo.asc.slb.com!leo.asc.slb.com!gray
References: <JNICOLAS.93Jan23001608@image.mit.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!geraldo.cc.utexas.edu!slcs.slb.com!leo.asc.slb.com!leo.asc.slb.com!gray
From: gray@snow.scr.slb.com (Douglas Gray Stephens)
Newsgroups: comp.soft-sys.matlab
Subject: Re: Purpose of %%BeginPreview ... %%EndPreview in eps files
Date: 25 Jan 93 09:45:38
Organization: Schlumberger Cambridge Research
Lines: 35
Message-ID: <GRAY.93Jan25094538@snow.scr.slb.com>
References: <JNICOLAS.93Jan23001608@image.mit.edu>
NNTP-Posting-Host: snow.scr.slb.com
In-reply-to: jnicolas@image.mit.edu's message of Sat, 23 Jan 1993 05:16:08 GMT