Rendering HTML elements to

前端 未结 6 2101
天命终不由人
天命终不由人 2020-11-28 03:53

Is there a way to have an arbitrary HTML element rendered in a canvas (and then access its buffer...).

6条回答
  •  独厮守ぢ
    2020-11-28 04:22

    RasterizeHTML is a very good project, but if you need to access the canvas it wont work on chrome. due to the use of .

    If you need to access the canvas then you can use html2canvas

    I am trying to find another project as html2canvas is very slow in performance

提交回复
热议问题