gpt4 book ai didi

linux - 将多个 gif 转换为单个 eps

转载 作者:太空宇宙 更新时间:2023-11-04 04:13:55 29 4
gpt4 key购买 nike

我正在使用 LINUX redhat,不确定是什么版本,但很可能是最近的大学机器。

我有超过 300 个 .gif 文件的列表,我想将其合并到一个 .eps 文件中(.pdf 也可以)。我尝试使用 Ghostscript 来组合它们,但出现错误

错误:(sDEVICE=epswrite) 中的/undefinedfilename

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

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 文件合并为一个文件。谢谢。

最佳答案

对于初学者来说,sDEVICE 应该是 -sDEVICE :-)

最重要的是,GIF 文件不是 PostScript,因此您不能直接将它们提交到 Ghostscript。

关于linux - 将多个 gif 转换为单个 eps,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17804109/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com