Deploying on an Asp.net website

Dec 17, 2016 at 1:47 AM
Edited Dec 17, 2016 at 3:46 AM
I'd like to use Ghostscript.net to convert some PDF pages to images in the background on a (low volume) web site for OCR, The code I use works in an asp.net website in the development environment with the Ghostscript native library installed on the system.

Can the website be deployed on a web server using just the dlls or must it be installed on the web server itself? Right now I'm getting the "requires installation" error on the deployed website. I'm hoping against hope that isn't the final answer.
Dec 17, 2016 at 3:44 AM
Edited Dec 17, 2016 at 3:45 AM
Nothing like finding the answer the moment you click the submit button. Simple and effective:
(VB.Net)
Dim gvi As GhostscriptVersionInfo = New GhostscriptVersionInfo(HttpContext.Current.Server.MapPath("~/bin/gsdll32.dll"))

Then passing gvi as a parameter when kicking off the process.
Very quick in rendering image files from PDFs.