开发者

create image from divs composite

开发者 https://www.devze.com 2022-12-26 05:24 出处:网络
I\'d like to have a div as a canvas, where users would c开发者_开发技巧hoose images to show, out of a list. They will choose what background it would have, icons, and they will upload an image which w

I'd like to have a div as a canvas, where users would c开发者_开发技巧hoose images to show, out of a list. They will choose what background it would have, icons, and they will upload an image which will appear in this canvas too.

I'm looking for solutions in PHP or ASP.NET.

thansk


Have you tried <canvas> element?

http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html - will work only in modern browsers (not IE), but it's very usable, check examples:

  • http://mugtug.com/sketchpad/
  • http://blog.monstuff.com/archives/images/JS-graffiti.html
0

精彩评论

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