Quantcast
Channel: Ghostscript.NET
Viewing all articles
Browse latest Browse all 393

New Post: Error when trying to run a processor

$
0
0
Hi Alejandro,

Try with this:
        private List<string> GetArgs()
        {
            List<string> args = new List<string>();
            args.Add("-empty"); // this one will not be used but it must be here
            args.Add("-sDEVICE=pnggray");
            args.Add(@"-oE:\gss_test\test.png");
            args.Add("-f");
            args.Add(@"E:\gss_test\test.pdf");
            return args;
        }
Make sure the full path is specified for both input and output file and the first switch is a dummy switch.

Cheers,
Josip

Viewing all articles
Browse latest Browse all 393

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>