title: Ghostscript suppress output windows when called by command line
body: <p>This is my scenario:</p>
  
  <p>I'm converting PDF files to PNG images calling Ghostscript by C#. This is the argument string I use:</p>
  
  <pre><code>-dNOPAUSE -dBATCH -dFirstPage=1 -q -r300   -sDEVICE=png256 -sOutputFile=...
  </code></pre>
  
  <p>But, in this way, when I call Ghostscript it shows a window where (before I've added <code>-q</code>) there were output messages.</p>
  
  <p>I've tried adding <code>-dNODISPLAY</code> after <code>-r300</code>. But in this way Ghostscript doesn't work and doesn't create images.</p>
  
  <p><strong>Question:</strong>
  In which way can I suppress the output window?</p>