|
-
Dec 28th, 2015, 01:36 AM
#1
Thread Starter
Frenzied Member
[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
-
Dec 28th, 2015, 05:45 AM
#2
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?
-
Jan 4th, 2016, 08:16 PM
#3
Thread Starter
Frenzied Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|