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,

You don't need quotes, simply set the folder after the switch as it is...

This works:
        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:\folder with whitespaces\test.png");
            args.Add("-f");
            args.Add(@"E:\folder with whitespaces\test.pdf");
            return args;
        }
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>