2013-07-23 48 views
0

我正在使用LINUX redhat,不确定哪个版本,但最有可能是最近的一台大学机器。将几个gif转换为单个eps

我有一个超过300个.gif文件的列表,我想合并成一个.eps文件(.pdf也很好)。 我会使用Ghostscript将它们合并尝试,但我得到一个错误

错误:/在(sDEVICE = epswrite)

我检查,以确保我有设备epswrite和pdfwrite undefinedfilename。 完整的命令我用的是:

gs -dBATCH -dNOPAUSE -dSAFER -q sDEVICE=epswrite -sOutputFile=nuMaxEstimate.eps *_numaxEstimate.gif 

或:

gs -dBATCH -dNOPAUSE -q sDEVICE=epswrite -sOutputFile=nuMaxEstimate.eps 9820825_numaxEstimate.gif 9821863_numaxEstimate.gif 

完整的错误,我得到了这两种情况是:

Error: /undefinedfilename in (sDEVICE=epswrite) 
Operand stack: 

Execution stack: 
    %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 
Dictionary stack: 
    --dict:1147/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 

谁能帮助我结合.gif文件到一个文件。 谢谢。

回答

0

的sDEVICE应-sDEVICE对于初学者:-)

最重要的是,GIF文件不是在PostScript,所以你不能只是提出引导他们到Ghostscript的。