converting contents of a div into an image

后端 未结 3 537
别那么骄傲
别那么骄傲 2021-01-21 21:59

I am creating an image editor type web application. I have a main div which will contain many div inside it.

When the user clicks on a save bu

3条回答
  •  自闭症患者
    2021-01-21 22:33

    Why are you using a bunch of divs when you could just use one canvas and draw on it with proper canvas functions?

    There are plenty of examples of what you're trying to do, such as this one.

提交回复
热议问题