[S] FW: splus graphics file conversion

Vu, Diane x7229 (DianeV@sequus.com)
Mon, 23 Mar 1998 09:56:13 -0800


> A special thank you to all who replied so quickly to my question
> concerning S-PLUS ps file conversion when running S-PLUS on a UNIX
> system. It appears that there is freeware out there such as xv,
> Ghostscript, or ImageMagick to do the job. I also talked with
> Mathsoft and was informed that the next version that will be released
> for UNIX in a few months will be able to convert ps to pdf format.
>
> Diane Vu
>
> ----------
> From: Michael Herron[SMTP:m-herron@nwu.edu]
> Sent: Friday, March 20, 1998 6:38 AM
> To: Vu, Diane x7229
> Subject: [S] Convertion ps files to gif or jpeg
>
>
> Vu, Diane x7229 writes:
> > Hello,
> > I am currently using SPLUS 3.4 on UNIX and am awaiting the new
> version
> > so that I can seemlessly convert my postscript output to gif or
> jpeg
> > format. Is there a way to do this now that can be used as a work
> around
> > before the new version comes out?
>
> I have never used this, but tth (latex to html converter) comes with
> some code called ps2gif. You can install tth (do a web search, I lost
> the url) which is easy and then you will have ps2gif.
>
> Michael
>
> ----------
> From:
> rangern@CIRANO.UMontreal.CA[SMTP:rangern@CIRANO.UMontreal.CA]
> Sent: Friday, March 20, 1998 5:05 AM
> To: DianeV@sequus.com
> Subject: Re: [S] Convertion ps files to gif or jpeg
>
> Probably, for the moment, it's to use an UNIX application to convert
> PS --> other image formats. Xview do a good job... Freeeware easy to
> install...
>
> Bonne chance! (Good luck)
>
>
> Ciao!
>
> Normand Ranger
>
>
> ``'`` CIRANO *
> (o O) Centre Interuniversitaire de *
> $$$$$$$
> ._________ooO_(_)_Ooo________. Recherche en ANalyse des Organisations
> *$$ $
> | Informaticien-statisticien | 2020 rue University, 25e etage,
> $$**
> | Sysadmin | Montreal (Quebec) Canada H3A 2A5
> $$ **
> | Co-webmestre | Tel: (514)985-4009 FAX: (514)985-4039
> $$**
> |____________________________|
> *$$ $
> E-mail: rangern@cirano.umontreal.ca *
> $$$$$$$
> http://www.cirano.umontreal.ca/~rangern *
>
> " ``Peut-etre'' garde les gens de mentir"
> [Proverbe francais]
>
>
> ----------
> From: Lutz Prechelt[SMTP:prechelt@ira.uka.de]
> Sent: Friday, March 20, 1998 12:16 AM
> To: Vu, Diane x7229
> Subject: Re: [S] Convertion ps files to gif or jpeg
>
>
> There is a 'pstoimg' program that comes with 'latex2html' and
> generates GIF.
> It requires ghostscript and netpbm (or pbmutils) to be installed.
>
> Search the web for these.
>
> Lutz
>
>
> ----------
> From: ripley@stats.ox.ac.uk[SMTP:ripley@stats.ox.ac.uk]
> Sent: Thursday, March 19, 1998 11:19 PM
> To: DianeV@sequus.com
> Subject: Re: [S] Convertion ps files to gif or jpeg
>
> What new version? The export graph facilities in 4.0 (for Windows)
> will
> not, we are told, appear in a Unix version. In any case, they are not
> of
> a very high quality. Ghostscript will convert .eps to .jpeg (and to
> .gif
> if you install a patch, but beware that .gif is patented and the
> patent
> holder pursues commercial users). You can also convert from .eps to
> many
> other bitmap formats (e.g. .png, .pnm) and hence to .gif in another
> program.
> The simplest way to do this is to install ghostscript and xv-3.10a.
>
> --
> Brian D. Ripley, ripley@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
>
> ----------
> From: Henrik Aalborg-Nielsen[SMTP:immhan@student.dtu.dk]
> Sent: Thursday, March 19, 1998 11:04 PM
> To: DianeV@sequus.com
> Subject: Re: [S] Convertion ps files to gif or jpeg
>
> Maybe you got a program called 'xv' on your system - it will do the
> job!
>
> Henrik
>
> --
> ----------------------------------------------------------------------
> --
> Henrik Aalborg Nielsen
> Department of Mathematical Modelling
> Time Series Group Fax: +45 4588
> 1397
> Technical University of Denmark Phone: +45 4525
> 3418
> Building 321, 2800 Lyngby, Denmark E-mail:
> han@imm.dtu.dk
> ----------------------------------------------------------------------
> --
>
> ----------
> From: David Ross[SMTP:ross@kahuna.math.hawaii.edu]
> Sent: Thursday, March 19, 1998 8:11 PM
> To: Vu, Diane x7229
> Subject: Re: [S] Convertion ps files to gif or jpeg
>
> Find out if your system is running GhostScript - if not, install it or
> have
> it installed. It can output a variety of bitmap types, including jpg.
>
> - David R.
>
> ----------
> From: Alan Zaslavsky[SMTP:zaslavsk@hcp.med.harvard.edu]
> Sent: Thursday, March 19, 1998 7:52 PM
> To: Vu, Diane x7229
> Subject: Re: [S] Convertion ps files to gif or jpeg
>
> The "xv" program is free (I think it is strictly speaking shareware)
> and
> will handle those conversions.
>
> ----------
> From: Steve Wofsy[SMTP:scw@io.harvard.edu]
> Sent: Thursday, March 19, 1998 5:49 PM
> To: Vu, Diane x7229
> Subject: Re: [S] Convertion ps files to gif or jpeg
>
> The newest versions of ghsotview/ghostscipt allow you to do this--
> 5.03 or later. You can do it using a "printer driver", rather than
> a "save as" command. I am using the PC version of ghostview but
> the Aladdin website has a full suite of unix versions.
>
> The new ghostview's reliably convert to eps and add a decent previewer
> also.
>
> scw
>
> ----------
> From: steve.dumont@cbis.com[SMTP:steve.dumont@cbis.com]
> Sent: Friday, March 20, 1998 7:28 AM
> To: Dianev@sequus.com
>
> Diane,
>
> We use a product call ImageMagick to convert postscript files to jpeg.
> We
> do this to allow viewing of charts via intranet.
>
> Steve Dumont
> CBIS
>
> ----------
> From: William Scott[SMTP:wills@zip.com.au]
> Sent: Saturday, March 21, 1998 2:58 AM
> To: 'dianev@sequus.com'
> Subject: Re: Converting Splus 3.4 for Unix Postscript files to
> gif or jpeg
>
>
> I have used Splus on UNIX and Win95 for a while now, and this has been
> a
> question which has often vexed me. The best (and indeed only) solution
> I
> have come up with is to use an external utility to convert the PS
> files
> produced by Splus to another format.
>
> I use Ghostscript, a freeware "rasteriser" which takes the PS and
> transforms it into any one of a number of formats, including X11 (for
> display on the screen), printer formats (for non-Postscript printers)
> and
> JPEG, TIFF, PNG and many other bitmap formats.Note that it does *not*
> support GIF, but you could convert it to this format from PNG or TIFF
> with
> xv or any other graphics utility. This restriction is a result of
> copyright
> difficulties with the GIF file format, but in practice is not a real
> problem. Ghostscript is distributed through the WWW at
> http://www.cs.wisc.edu/~ghost/aladdin/get510.html. It may already be
> installed on your system as gs.
>
> It's command line syntax is a bit fiddly, but it has (somewhat
> sapphic)
> documentation. Alas, my notes are misplaced, so I can't give you the
> exact
> commands I use. If you have any trouble, feel free to email me (I can
> look
> them up if necessary).
>
> As for "seamlessly" acheiving this functionality, well maybe you could
>
> define an Splus function that dumps the current graph to a Postscript
> file,
> and uses the shell() function to run Ghostscript and convert the PS
> files.
> I prefer to do it by hand... my shell programming isn't really up to
> scratch.
>
> If you come up with any really cool slick ways of converting the PS,
> please
> do post the solution to the list.
>
> Hope this helps,
> Regards,
>
> William Scott.
>
>
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news