如何在PDF文档中插入SVG文件? [英] How to insert a SVG file in a PDF document?

查看:325
本文介绍了如何在PDF文档中插入SVG文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 embeddSVG.py 将SVG嵌入到PDF,但Adobe Acrobat Reader在我的pdf中未显示svg内容.

I'm trying use embeddSVG.py to embed an SVG in a PDF, but Adobe Acrobat Reader doesn't show svg content in my pdf.

推荐答案

最好先将SVG转换为PDF.

You're probably better off first converting the SVG to PDF.

Apache Batik包括 SVG Rasterizer ,尽管其名称如此,但它仍然可以将SVG转换为PDF.

Apache Batik includes SVG Rasterizer, which, despite its name, can convert SVG to PDF.

Apache FOP使用它来将包含SVG图形的Docbook文档转换为PDF.

This is used by Apache FOP to convert Docbook documents that include SVG graphics to PDF.

这篇关于如何在PDF文档中插入SVG文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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