[R] OT: PSTOWMF

Prof Brian D Ripley ripley at stats.ox.ac.uk
Fri Aug 20 20:29:59 CEST 1999


On Fri, 20 Aug 1999, Karl M. Syring wrote:

> This really gets a kind of faq topic:
> on Windows you can add a WMF preview to ps/eps file with the
> ghostscript/gsview combo. The WMF produced seems to be a placeable metafile
> of good quality. Thus you should just send him the postscript files and let
> him do his homework.

That is definitely a bitmap: it says so in the epstool docs (and GSView
has epstool embedded). You can do this directly with epstool (same
author, same place, also for Unix).

`When adding a WMF preview using -w, the preview contains a bitmap,
not a vector representation.  If -zdevice is not used, the
Ghostscript device bmpmono or pbmraw will be used to create the bitmap.
The bitmap in the metafile will be 1bit/pixel black and white.
  epstool -b -w -onew.eps old.eps
If you want a colour bitmap in the metafile, specify a bitmap device 
which supports colour.
  epstool -b -w -zbmp256 -onew.eps old.eps'

If you want a vector result, you _may_ get one from conversion in
Adobe Illustrator or Corel Draw or Mayura Draw, but I usually don't.
I have not tried recent R graphics, but that is becuase R can produce
emf directly these days.

Brian

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list