I saw around only HTML-to-Canvas posts, and I was searching for a technique to export Canvas to HTML elements. Say I have some shapes in a canvas, and I would like to get the same as DIV elements (same position, same stye) in a DOM container. Are there known techniques, or library that already do that? I realize it is kind of trivial to realize, so I was wondering whether someone had already invented the wheel. I would like to be able to then manipulate them with CSS.
Edit: it will not be a bitmap, I have the information of all the elements inside, about position and dimension and all that.
Edit2: apparently the wording is wrong, so I will reformulate: I need some lib that draws DOM elements, emulating canvas elements.
Comments
Post a Comment