While we appreciate comments from our users, please follow our posting guidelines. Have you tried the Cyotek Forums for support from Cyotek and the community?

Styling with Markdown is supported

Original Comment


Richard Moss

# Reply

I had a quick glance at the GhostScriptAPI class to refresh my memory, it has been some time since I looked at it. As far as I can see, it is self contained so should work in parallel. If it doesn't, then it is most likely because the native Ghostscript DLL doesn't support this. And in fact a 30 second check of the documentation finds

At this stage, Ghostscript supports only one instance.

You could try creating a single instance of the GhostScriptAPI class and then using that in your parallel loop, as I'm assuming right now you're creating one instance per thread. However, I suspect this won't work either the arguments are bound to that single instance ID. You might be better off asking the authors of Ghostscript themselves about parallel support.

Sorry I can't be of more help.

Richard Moss