gpt4 book ai didi

macos - ImageMagick 无法识别 .eps 文件(无解码委托(delegate))

转载 作者:行者123 更新时间:2023-12-04 20:41:14 27 4
gpt4 key购买 nike

ImageMagick 无法识别(或转换)任何 .eps 文件,带有 没有解码委托(delegate) 错误。以下是完整的错误。请注意,为 Ghostscript 运行 ps2pdf 包装器确实成功地将示例 EPS 文件转换为 PDF,但是......我猜由于 ImageMagick 无法识别格式,这可能并不重要。
identify: no decode delegate for this image format "/my_sample.eps" @ error/constitute.c/ReadImage/552.
系统信息:

ImageMagick 6.8.7-0 2013-10-28 Q16
Mac OS X 10.9 (13A603)

识别列表格式 | grep EPS 返回:
 EPS  PS        rw-   Encapsulated PostScript
EPS2* PS2 -w- Level II Encapsulated PostScript
EPS3* PS3 -w+ Level III Encapsulated PostScript
EPSF PS rw- Encapsulated PostScript
EPSI PS rw- Encapsulated PostScript Interchange format

最佳答案

做什么

convert -list configure | grep -i delegate
convert -list delegate

返回?以下文件包含所有本地代表设置的定义:
ls -l $(convert -list delegate | grep Path: | sed 's#Path: ##')

那么做什么
grep sDEVICE $(convert -list delegate | grep Path: | sed 's#Path: ##')

返回?

可能是您的 EPS 文件被一些“外来”数据污染,例如以官方 %!PS... 为前缀的 PJL 命令。 -标题行。这可能会使文件的自动识别变得不可能。你检查过这个吗?

关于macos - ImageMagick 无法识别 .eps 文件(无解码委托(delegate)),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19779050/

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