Convert XPS to SVG

不羁岁月 提交于 2020-04-13 06:47:23

问题


Is there a direct and fast way to convert XPS (XML Paper Specification) files to SVG format?

I can convert XPS to PDF and then using inkscape to convert them to SVG. But the PDF->SVG step is very time consuming though this process seems is not CPU consuming.

My understanding is that be cause XPS is a vector based format, converting it to another vector based format like SVG must be feasible and much faster than converting raster based format (though i'm not entirely sure pdf is just raster base) to vector based formats.

BTW, the goal is to display vector based images in browser, and I've XPS files.


回答1:


libgxps reads XPS and can create SVG files.

I tried it on Cygwin with the xpstosvg command and worked fine.



来源:https://stackoverflow.com/questions/12217629/convert-xps-to-svg

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!