将pdf转换为矢量图像 [英] Converting pdf to vector image

查看:1073
本文介绍了将pdf转换为矢量图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在网页中使用pdf内容(数学).我基本上想将pdf转换为某些矢量图像.将pdf转换为swf可以很好地完成工作,但是由于并非每个平台都支持Flash,因此我正在尝试寻找另一种解决方案.

I'm trying to use pdf content (mathematics) in my webpage. I basically want to convert the pdf to some vector image. Converting the pdf to swf does the job very well, but as flash isn't supported on every platform, I'm trying to find another solution.

我了解了svg,但是由于这些pdf包含很多数学知识,因此我发现转换器的结果确实很丑陋和不正确.

I read about svg, but as those pdf's contain a lot of mathematics, the result of the converters I found is really ugly and incorrect.

我还考虑过重新键入乳胶,并使用mathjax显示它,这在某种程度上是最好的解决方案,但也很耗时.

I've also thought about retyping the latex, and displaying it using mathjax, in some way this is the best solution, but also very time consuming.

我唯一想做的就是将其转换为漂亮的矢量图像,我不想更改内容或其他任何内容.除了转换为swf或重新键入它外,还有其他解决方案吗?

The only thing I want is to convert it to a nice vector image, I don't want to change the content, or anything else. Besides converting to swf or retyping it, is there any other solution ?

这是svg 输出
和原始的 pdf

this is svg output
and here original pdf

推荐答案

我唯一能找到的解决方案是插画家. 只需打开pdf文件,另存为svg,然后选择嵌入所有使用的字形即可. 结果是完美的:

The only solution I could find is illustrator. Just open the pdf, save as svg, and choose to embed all used glyphs. Result is perfect:

https://dl.dropboxusercontent.com/u/58922976/Sol- 10.1.svg

这篇关于将pdf转换为矢量图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆