Skip to main content

Posts

Showing posts with the label vb.net

Saving Div Content As Image On Server

I have been learning a bit of jQuery and .Net in VB. I have created a product customize tool of sorts that basically layers up divs and add's text, images etc on top of a tshirt. I'm stuck on an important stage! I need to be able to convert the content of the div that wraps all these divs of text and images to one flat image taking into account any CSS that has been applied to it also. I have heard of things that I could use to screen capture the content of a browser on the server which could be possible for low res thumbs etc, but it sounds a little troublesome! and it would really be nice to create an image of high res. I have also heard to converting the html to html5 canvas then writing that out... but looks too complicated for me to fathom and browser support is an issue. Is this possible in .NET? Perhaps something with javascript could be done? Any help or guidance in the correct direction would be appreciated! EDIT: I'm thinking perhaps I could do