php pdf generator supporting vector images

2019-09-01 07:39发布

We are having an application in which we have vector image and using dompdf to convert html to pdf. But dompdf does not support vector image.

Can any one suggest me any php based pdf generator which supports table, background image and vector image.

3条回答
地球回转人心会变
2楼-- · 2019-09-01 08:08

Sprint PDF supports vector images. And it does not need any server-side installation—it is a REST API that can be integrated into any application.

查看更多
一纸荒年 Trace。
3楼-- · 2019-09-01 08:11

The key standard for vector graphics on the web is SVG.

Consider building a SVG document, then converting this to PDF using either of RSVG, Inkscape or Apache Batik.

查看更多
ゆ 、 Hurt°
4楼-- · 2019-09-01 08:27

TCPDF have support for Vector images in PDF. That's pure PHP library for PDF generation.

Look at example #32 here on: http://www.tcpdf.org/examples.php http://www.tcpdf.org/examples/example_032.phps

查看更多
登录 后发表回答