473,659 Members | 3,277 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help.. Need to convert HTML to image file

1 New Member
Hi,

I need to convert HTML file to any image file. I need to get it done in c#.NET only.
Could you please suggest me some ways of doing it.

Thanks,
Zaggi
Mar 13 '08 #1
3 1541
kunal pawar
297 Contributor
try this

I think if u set ur page content type as Image/jpeg then ur page content will appear as Image in browser
so set ur contenttype as image
Response.Conten tType="image/jpeg"
Mar 13 '08 #2
Plater
7,872 Recognized Expert Expert
try this

I think if u set ur page content type as Image/jpeg then ur page content will appear as Image in browser
so set ur contenttype as image
Response.Conten tType="image/jpeg"
That works if you are sending byte data from an image (jpeg)

However if you have a bunch of html controls and what not and want an image representation of how they would look, it won't work.

If you are in a windows application, you can add an instance of the WebBrowser object and can generate a picture from that object I think. Other then that I don't know, and would be curious to hear an answer.
Mar 13 '08 #3
Farhomar
6 New Member
I use WebsitesScreens hot dll for this. this .net component can be used in any .net language. you just try this, it's easy to use.
Dec 4 '09 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
2786
by: Zhao Sheng | last post by:
http://www.guangmingsoft.com/htmltoimage/help.htm Html To Image Html To Image 2.0 Released! Html To Image help you convert html page from any URL to image or thumbnails easily and quickly. Directly save the webpage at a given URL into image in bmp, jpeg, tiff, gif or png format. Create thumbnail images from large images. Batch conversion is supported.
0
1471
by: sudhirpkumar | last post by:
Hi, Can anybody tell me how to create xml file by checking with schema. that is i want code to create a xml file which will check with xsd file while writing xml file.
6
1982
by: vighnesh | last post by:
Hi Folks I am dealing with a project in which I have to convert the image files as PDF files. Can anyone please suggest how can we achieve that. I tried on google for it, but I found some commercial components, is there any alternative way to achieve this. Please suggest. Thanks in advance Regards Vighneswar
5
3215
by: paulmcnally | last post by:
Hi, I need a javascript RegExp for image file validation from a file upload form. I need to allow image files only (jpeg/jpg/gif/png) can anybody help me please? thanks,
0
903
by: senthilnathan1985 | last post by:
Hi, Am implementing asp.net in my project . and am new to asp.net. In my project i convert one file(.doc) to another file (.pdf) format i don't know how to convert this can you please give a code for this implementation
0
1993
by: aris1234 | last post by:
hello.. How to upload image file in page update ..?? i have logic like this : if user upload new image then old image must delete and update DB used new name if user not upload new image then old image no delete. code form like this (i dontknow this code right or wrong, please correction if wrong) :
5
6064
by: gnkt4ujt2002 | last post by:
hi frnds in using vb.net i want to read or convert any image file to HEX code ..actually i want to send wallpaper to a mobile phone using gateways
0
1145
by: chithrausha | last post by:
Iam having an HTML file where in iam writing some text and it has some background image embedded in it.i want to convert that html file to image file and want to export it in pdf format.(without converting to image file,the image is not exported.)can anyone tell me how to convert an html image file into pdf format using c# coding.it is very urgent.please
8
1480
by: psantosh12 | last post by:
Hello Everyone, I need help to convert html file to Txt file, If there is any tool or software please let me know Regards Santosh
5
11031
by: jettimadhu | last post by:
Hi , I want to convert the HTML/XML file to all other Ms-office file extentions like .ppt,.pptx,.docx.... Is there any API' s to get a possible solution for this problem?
0
8428
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8337
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8628
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7359
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6181
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4175
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4335
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1978
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1739
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.