Plugin jQuery: rasterizeHTML.js : Renders HTML into the browser’s canvas

rasterizeHTML.js : Renders HTML into the browser’s canvas
http://www.jqueryrain.com/?http://cburgmer.github.io/rasterizeHTML.js/
https://github.com/cburgmer/rasterizeHTML.js
21/09/2013

Nội dung

rasterizeHTML.js : Renders HTML into the browser's canvas

Draw a page/an HTML string/a Document to the canvas.For security reasons rendering HTML into a canvas is severly limited. Firefox offers such a function via ctx.drawWindow(), but only with Chrome privileges.

To cope with the existing limitations, rasterizeHTML.js will load external images, fonts and stylesheets and store them inline via data: URIs or inline style elements respectively.


Nguồn: www.jqueryrain.com/2013/09/rasterizehtml-js-renders-html-browsers-canvas/


Chưa có phản hồi
Bạn vui lòng Đăng nhập để bình luận