Search found 3 matches
- 2019-02-01T03:16:12-07:00
- Forum: Users
- Topic: Problem converting pdf to jpg with php
- Replies: 5
- Views: 4371
Re: Problem converting pdf to jpg with php
Thanks for replying. I tried adding the following line to the policy.xml file <policy domain="coder" rights="read | write" pattern="PDF" /> It didn't work. I then tried adding the explicit path to the ghostscript exe like so: "C:\Program Files\gs\gs9.26\bin\gswin64.exe" I also tried ...
- 2019-01-31T02:17:50-07:00
- Forum: Users
- Topic: Problem converting pdf to jpg with php
- Replies: 5
- Views: 4371
Re: Problem converting pdf to jpg with php
Hi, Thanks for the tips. Sadly, it's still not working. I replaced the @PSDelegate@ variable in the edligates.xml file, to C:\Program Files\gs in all ps lines along with pdf and eps lines. Still no luck. I also tried replacing with C:/Program Files/gs and it didn't work. Of course I restarted IIS ...
- 2019-01-30T11:12:54-07:00
- Forum: Users
- Topic: Problem converting pdf to jpg with php
- Replies: 5
- Views: 4371
Problem converting pdf to jpg with php
Hi, I have installed ghostscript 9.26 on a 64 bit windows 10. I also installed installed Imagemagick 7.0.8-Q16. Converting a pdf into a jpg file works without a problem using command line. However, I cannot convert a pdf using php code. I tried running the following code: $out = shell_exec("convert ...