Getting Imagemagick to recognise Ghostscript as a delegate
Posted: 2011-06-30T04:13:24-07:00
Hi!
I'm really hoping someone can help as I'm tearing my hair out!!! I have imagmagick installed fine, version 6.7.0-9 and ghostscript 8.71 on my ubuntu server. I'm not great at ssh stuff but I'm learning and have been doing ok!! I'm trying to convert PDF to PNG using php and shell_exec. This all worked absolutely fine and then suddenly stopped working. Yesterday was a day full of googling and reinstalling and editing delegates.xml etc. etc. but nothings worked!!!
If I run
it doesn't show gs as a delegate which I'm thinking is the problem but I've followed every bit of advice on the web with no success!!! I've no idea why it's stopped working or how to get it working again but would really appreciate some help. I've read others posts on here as well and have tried changing the delegates.xml file to the path of gs and then installing it again but nothing makes any difference. Ther error I'm getting when i run this (within a simple php file):
is:
...which is why im onto the delegates line of investigation. Any suggestions as to what to do to fix this would be so greatly appreciated you wouldn't believe.
Thanks! (In advance, hopefully!)
I'm really hoping someone can help as I'm tearing my hair out!!! I have imagmagick installed fine, version 6.7.0-9 and ghostscript 8.71 on my ubuntu server. I'm not great at ssh stuff but I'm learning and have been doing ok!! I'm trying to convert PDF to PNG using php and shell_exec. This all worked absolutely fine and then suddenly stopped working. Yesterday was a day full of googling and reinstalling and editing delegates.xml etc. etc. but nothings worked!!!
If I run
Code: Select all
convert -list configure
Code: Select all
convert http://my.domain.com/test.pdf test.png 2>&1
Code: Select all
convert: no decode delegate for this image format `//my.domain.com/test.pdf' @ error/constitute.c/ReadImage/532.
convert: missing an image filename `test.png' @ error/convert.c/ConvertImageCommand/3015.
Thanks! (In advance, hopefully!)