What I want to do is convert a .ps file into a .png file in a cgi script. I tried the following command:
Code: Select all
system("convert rna.ps rna.png");
But the script is not able to generate the png file. When i look into the apache_error_log there are these error messages related to the convert command:
Code: Select all
convert: no decode delegate for this image format `./gamedata/1148213059206768.ps'.
convert: Postscript delegate failed `./gamedata/1148213059206768.ps'.
convert: missing an image filename `./gamedata/1148213059206768.png'.
Code: Select all
system("whoami");
There is no problem when i go into the terminal and type in the command manually. I just tried everything and was wondering if someone might know a solution. PerlMagick is not a solution though, because my other server has that not installed.
Alex