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.