title: Ghostscript output save location
body: <p>I'm trying to use ghostscript in python. This is my code:</p>
  
  <pre><code>import sys
  import ghostscript
  
  args = [
      "-sDEVICE=jpeg",
      "-sOutputFile=test-%d.jpg",
      "-dBATCH", "-dNOPAUSE",
      "/users/arnoutaertgeerts/downloads/langetest.pdf"
      ]
  
  ghostscript.Ghostscript(*args)
  </code></pre>
  
  <p>But I can't find the generated images (I can see them being generated though!) I did some tests and apparantly it doesn't matter what I type at -sDEVICE... So something most be wrong?
  I'm using Ghostscript 9.0.6</p>
  
  <p>Where does ghostscript save my images?</p>