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