开发者

svg to html to pdf conversion

I would like to use graphael to draw a simple chart on a webpage (that has other html). Is there a way to conver开发者_如何学Pythont the chart to a .gif or .png image at the same time that it is drawn?


There are at least a few ways. The commercial product Prince ( http://www.princexml.com ) does this, as does the open source Inkscape ( http://inkscape.org/ ). In fact, there are a fair number of HTML/SVG->PDF converters on the market.

The Kendo UI DataViz library (a competitor to graphael) has some sample code in .NET for doing this server side with Inkscape: http://www.kendoui.com/code-library/dataviz/chart/kendo-ui-chart-export.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜