Python Ghostscript Pdf To Png
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.getcanvascan.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: ps2pdf file.psHere 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.
Ghostscript Pdf To Text
Gnuplot is a widely known script based free plotting program. This script (gpt2pdf) makes it possible to generate pdf figures with 2D LaTeX maths on top of it by including psfrag replacements directly as comments in the gnuplot file. The resulting pdf file doesn't contain any extra white-spaces around it and as such can be comfortably included in any ( pdf)LaTeX file.Requires:Python 2.4 - 2.7, LaTeX and the system commands ps2epsi and epstopdf which comes in with any ghostscript installation.