c# - Using Ghostscript.Net on an ASP.NET Azure Website -
i using ghostscript.net in order convert pdf page jpg. works fine when run locally, when publish azure website error:
"this managed library running under 32-bit process , requires 32-bit ghostscript native library installation on machine! download proper ghostscript native library please visit: http://www.ghostscript.com/download/gsdnld.html"
obviously can't install ghostscript on server azure website running on, don't have access that. there way can include ghostscript library in publishing profile, , have ghostscript.net read that?
alternatively, there any package allow me convert pdf page jpg thumbnail on asp.net server without using ghostscript @ all? have tried ghostscriptsharp , had no luck either.
you try install native ghostscript library local machine , get gsdll32.dll (or gsdll64.dll if running in x64 bit environment) can deploy server along other dlls.
take @ example how tell ghostscript.net search native ghostscript library dll: https://github.com/jhabjan/ghostscript.net/blob/master/ghostscript.net.samples/samples/customgsdlllocationsample.cs
Comments
Post a Comment