-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Seems like you need to have Ghostscript installed #1
Comments
Hi, |
Hi, We've run into the same issue here. We have got both the gsdll32.dll and gsdll64.dll in the bin folder, but it doesn't work (same error as @skttl). This won't work if you haven't got GhostScript installed on the server. I'm thinking something like:
(obviously that code could be a bit tidier :)) |
Do one of you have time to do a quick pull request? |
Nevermind... just found #2 |
Merged and pushed it online. Hope it works - did not test. |
In the meantime I have done some additional testing and it solved an issue for a side project :-) So 👍 for both of you. Find me at Codegarden (if you go). I'll buy you both a beer. ;-) |
A bit late to the party. It works on my local machine, but not on the website (hosted on Azure web apps). I get "An error occured when call to 'gsapi_new_instance' is made: -100". Not sure if related. |
I kept getting messages stating that Ghostscript couldn't find the installed version, so googled around a bit, and found a workaround, for when you don't have GS installed (http://ghostscriptnet.codeplex.com/discussions/465418).
I then implemented it in PdfRasterizer like this, and now it works like a charm. Not sure if this is a good way to go though.
The text was updated successfully, but these errors were encountered: