-
[RESOLVED] HTML to image
Hi,
I'm looking for a piece of code to convert an HTML file or code to an image file. I tried to do some search on google, I found a few but it only works on Windows application not web (asp.net).
I'm basically trying to convert a formatted html page to an image at the server side. I was wondering if you have any suggestions.
Thanks
-
Re: HTML to image
The browser is who renders the image - I cannot see how you can ask the browser from the server side to do a screen capture.
I believe there are HTML browser like controls you can use in code - but you have backend code without a form here - that's going to present a bit of a challenge.
Do you have any JavaScript running that you might be able to work with?
-
Re: HTML to image
Thx for the help, I ended up taking a different approach which worked fine for my need. I used the graphics drawString... instead of converting html to image.
thanks