VML to PNG/PDF (jsp)

两盒软妹~` 提交于 2019-12-01 13:02:48
Paul Sweatte

Exporting to PNG or PDF would involve converting the VML2SVG using the stylesheets, the VML element, and transformNode, then converting the SVG to PNG using a AJAX request which posts the image to a script which creates the PDF or runs imagemagick and returns the result. The pseudocode is something like this:

svg = vml.transformNode(vml2svg)
$.post("/svg/png-or-pdf", svg, showImg);
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!