Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.postscript > #3243
| From | ken <ken@spamcop.net> |
|---|---|
| Newsgroups | comp.lang.postscript |
| Subject | Re: using ghostscript to convert ps or eps to pdf/png/jpg??? |
| Date | 2018-02-14 08:42 +0000 |
| Message-ID | <MPG.34ee06be56a04105989928@usenet.plus.net> (permalink) |
| References | <48aaae85-175f-473e-9301-bb9d6dc4c59d@googlegroups.com> |
In article <48aaae85-175f-473e-9301-bb9d6dc4c59d@googlegroups.com>, daviddschool@gmail.com says... > > Question(s): > I am trying to get a turtle graphic window to save as a jpg. Presently I can get it to save as a .ps or .eps file. > > can=turtle.getscreen().getcanvas() > can.postscript(file="test1.eps") > > From here, I was hoping to use Ghostscript to convert the file to jpg/png/pdf. > > Using the ghostscript documentation, it looks like this would work: (https://www.ghostscript.com/doc/9.22/Use.htm#Invoking) > > ps2pdf file.ps > > Here is my dilemma. I cannot install ghostscript to my boot drive. I am on a network so this prevents me. I do have a drive I can install to, but I don't know if that will work with ghostscript and python. Any ideas? > > > GHOSTSCRIPT : I am not sure how ghostscript works with python (or otherwise). I tried to log into the IRC chat on the ghostscript site, but that doesn't seem active for non-paying customers. To answer this question (for the third time in the third different forum): Ghostscript doesn't need to be 'installed' its perfectly capable of running from anywhere. Did you try this ? If so what problems did you experience ? If not, why not ? Note that 'ps2pdf' isn't 'Ghostscript', its just a script (bash or windows command shell) which runs Ghostscript. If you want to use the script then you're going to have to ensure that things like the $PATH environment variable are correct. Because you haven't mentioned the operating system you are using in any of the questions you asked, nor explained what difficulty you are having with running Ghostscript, detailed answers are not possible. Ghostscript is a 'mature' product with many, many options both at run-time and compile-time and the various Linux distributions vary in how they build and deliver Ghostscript. So its entirely possible that a naive 'copy stuff' approach doesn't work, but without more to go on, who knows. The #ghostscript IRC channel is *intended* for open source users, we don't expet our commercial customers to use it, though if they want to they are welcome to. The problem is that you are logging in at a time when the developers are offline. We're in the US and Europe and so there's nobody working at 1 am CET. I notice that you did log in at 1pm while I was getting lunch, but logged back out before I coud reply. You'll find versions of the snswer above in our IRC logs, as well as on Stack Overflow. So now your question has been answered three times. Ken
Back to comp.lang.postscript | Previous | Next — Previous in thread | Find similar
using ghostscript to convert ps or eps to pdf/png/jpg??? daviddschool@gmail.com - 2018-02-13 17:58 -0800 Re: using ghostscript to convert ps or eps to pdf/png/jpg??? helbig@asclothestro.multivax.de (Phillip Helbig (undress to reply)) - 2018-02-14 06:24 +0000 Re: using ghostscript to convert ps or eps to pdf/png/jpg??? ken <ken@spamcop.net> - 2018-02-14 08:42 +0000
csiph-web