gpt4 book ai didi

html - Illustrator SVG 导出不工作(命名空间前缀 inkscape 未定义)

转载 作者:搜寻专家 更新时间:2023-10-31 22:15:05 25 4
gpt4 key购买 nike

我是矢量编辑领域的新手。我正在尝试从 .AI 文件导出 .SVG 文件。但是,当我导出它时,生成的文件中出现以下错误:

Error on line 57 at column 354: Namespace prefix inkscape for cy on namedview is not defined 

谁能告诉我这是什么意思,我该如何解决?

最佳答案

尝试用文本编辑器打开你的 SVG 文件:你会看到一些带有 inkscape 命名空间的 XML 属性,例如

inkscape:label="Some label"

这些属性可能来自原始 SVG 文件(我猜你是从维基百科上获取的?)。您可以安全地全部删除它们——也许可以在您的文本编辑器中使用 grep 查找和替换,例如:

find inkscape:label="[^"]*" replace with ""

关于html - Illustrator SVG 导出不工作(命名空间前缀 inkscape 未定义),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13744422/

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