Alberto Santana
PL O'Smith wrote:
* On Friday 27 December 2002 01:31 am, Alberto Santana wrote:
convert file.ps file.eps does not work, it gives the following:
Unknown device: nodevice convert: delegate failed (gs -q -dBATCH -dMaxBitmap=300000000 -dNOPAUSE -dSAFER -sDEVICE=nodevice -sOutputFile=%o -- "%i" -c quit) [No such file or directory].
I cannot reproduce the problem on my system (8.1): $ convert /usr/share/ghostscript/7.05/examples/tiger.ps tiger.eps $ ls -l /usr/share/ghostscript/7.05/examples/tiger.ps tiger.eps -rw-r--r-- 1 root root 78599 2002-09-10 20:57 /usr/.../tiger.ps -rw-r--r-- 1 malusek malusek 73287 2002-12-27 18:49 tiger.eps
Any idea? Shouldn't device=epswrite or something like it???
Yes. See the following: $ strace -f -e execve convert \ /usr/share/ghostscript/7.05/examples/tiger.ps tiger.eps ... [pid 2602] execve("/usr/bin/gs", ["gs", "-q", "-dBATCH", "-dMaxBitmap=300000000", "-dNOPAUSE", "-dSAFER", "-sDEVICE=epswrite", "-sOutputFile=tiger.eps", "--", "/usr/share/ghostscript/7.05/exam"..., "-c", "quit"], [/* 56 vars */]) = 0 $ rpm -qf /usr/bin/convert ImageMagick-5.4.7-75 -- Alexandr.Malusek@imv.liu.se