是否有命令行选项来要求inkscape从pdf页面3(例如)提取svg?我现在使用的命令是
$ inkscape -f test.pdf -l test.svg但我也想从这个pdf导出一个特定的页面选项。
发布于 2015-08-20 19:09:01
首先用pdftk (或者实际上是任何其他合适的工具)提取您需要的页面,怎么样?
mypage=$(mktemp -u XXXXXX.pdf)
pdftk test.pdf cat 3 output "$mypage"
inkscape -l test.svg "$mypage"
rm "$mypage"(如果能够通过管道将pdftk的输出直接传输到inkscape,那就太好了。不幸的是,当从标准输入提供数据时,inkscape期望数据是svg。命名管道也无济于事,因为inkscape似乎多次尝试遍历pdf文件。)
https://stackoverflow.com/questions/29673798
复制相似问题