遵循mutool对draw命令的说明
https://mupdf.com/docs/manual-mutool-draw.html
当输出“向量格式”之一是“调试跟踪(作为xml)”和“输出格式是从输出文件名推断出来的”时,如何输出“结构化文本(作为xml)”?
如果我跑了
mutool draw -o "testfile.xml" "testfile.pdf"我似乎得到了“调试跟踪(作为xml)”文件格式。
我应该使用什么文件扩展名来确保输出“结构化文本(作为xml)”格式?
发布于 2018-08-22 15:35:49
如果您在没有参数的情况下运行"mutool绘图“,则使用消息会告诉您支持哪种格式,以及它们的文件扩展名是什么。
在您的例子中,您需要"stext“输出。
mutool draw -o out.stext input.pdf
mutool draw -F stext -o out.xml input.pdf或者,如果您更喜欢使用"mutool“命令,该命令使用-O参数支持高级输出选项。
mutool convert -o out.stext input.pdfhttps://stackoverflow.com/questions/51969592
复制相似问题