0

I want to use ghostscript to convert PDF to Images. Using Process class in C# is very simple. What I want is to use the gsdll32.lib or gsdll32.dll in C# and be able to execute the following command which works on command line using gswin32c

gs9.14\\bin\\gswin32c -Igs9.14\\lib;fonts -dSAFER -dNumRenderingThreads=2 -dBATCH -dUseCropBox -dNOPAUSE -sPDFPassword=\"\" -sDEVICE=png16m  -r200 -sOutputFile=\"output\"

Are there any wrappers available or any other way that I can use because when I simply try to add reference of the gsdll32.dll in C# project, i get the following error:

The reference could not be added. Please make sure that the file is accesible, and that it is a valid assembly or COM component.
4

1 回答 1

2

在我建议您查看Josip Habjan的Ghostscript.NET之前,您已签署 IRC。

于 2014-09-25T12:17:41.387 回答