The ImageMagick 'convert' command may not work with postscript files
Posted: 2012/03/12 13:35:31
Hi guys,
I've been searching for a long time now on how to fix my convert command. It was working and stopped about a month ago.. I've found a confirmation of the problem at the [url=https://access.redhat.com/knowledge/solutions/72303]redhat site[/url] but you need a subscription to access the solution.
Enviroment:
- ghostscript-8.70-14.el5
- ImageMagick-6.2.8.0-12.el5
Here is how to reproduce:
[code][root@ home]# convert test.ps test.png
Error: /undefinedfilename in (72x72)
Operand stack:
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push \
--nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push
Dictionary stack:
--dict:1154/1684(ro)(G)-- --dict:0/20(G)-- --dict:70/200(L)--
Current allocation mode is local
Last OS error: 2
GPL Ghostscript 8.70: Unrecoverable error, exit code 1
Error: /undefinedfilename in (72x72)
Operand stack:
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push \
--nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push
Dictionary stack:
--dict:1154/1684(ro)(G)-- --dict:0/20(G)-- --dict:70/200(L)--
Current allocation mode is local
Last OS error: 2
GPL Ghostscript 8.70: Unrecoverable error, exit code 1
convert: no decode delegate for this image format `test.ps'.
convert: Postscript delegate failed `test.ps'.
convert: missing an image filename `test.png'.
[/code][Moderator edit: Wrapped long lines.]
If anyone can help I would be very grateful.
I've been searching for a long time now on how to fix my convert command. It was working and stopped about a month ago.. I've found a confirmation of the problem at the [url=https://access.redhat.com/knowledge/solutions/72303]redhat site[/url] but you need a subscription to access the solution.
Enviroment:
- ghostscript-8.70-14.el5
- ImageMagick-6.2.8.0-12.el5
Here is how to reproduce:
[code][root@ home]# convert test.ps test.png
Error: /undefinedfilename in (72x72)
Operand stack:
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push \
--nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push
Dictionary stack:
--dict:1154/1684(ro)(G)-- --dict:0/20(G)-- --dict:70/200(L)--
Current allocation mode is local
Last OS error: 2
GPL Ghostscript 8.70: Unrecoverable error, exit code 1
Error: /undefinedfilename in (72x72)
Operand stack:
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push \
--nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push
Dictionary stack:
--dict:1154/1684(ro)(G)-- --dict:0/20(G)-- --dict:70/200(L)--
Current allocation mode is local
Last OS error: 2
GPL Ghostscript 8.70: Unrecoverable error, exit code 1
convert: no decode delegate for this image format `test.ps'.
convert: Postscript delegate failed `test.ps'.
convert: missing an image filename `test.png'.
[/code][Moderator edit: Wrapped long lines.]
If anyone can help I would be very grateful.