473,403 Members | 2,222 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Convert a HTML file to TIFF programmatically?

Hi guys,

In .NET, how can I convert a HTML file to TIFF efficiently?

One possible way is that I can first use word automatation to load the
HTML up and then print it to TIFF. Is that right? However, even if it
is technically feasible, it can take long time to do the conversion,
especially the HTML is complicated.

Is there any other more efficient way? Thanks!

How about converting HTML to JPEG? (The HTML is big, and I'm afraid
that the converted TIFF may be huge....)

Thanks
Dominic
Jul 21 '05 #1
4 6990
according to a co-worker, heres what u want to do:
make sure the html is either xhtml or xml->friendly html. then use apache
FOP to convert it to whatever. apparently its best at pdfs.. and pdfs are
cooler than tiff/jpg... much cooler.... much much cooler...
hope that helps

"Dominic" <do****@hotmail.com> wrote in message
news:2b**************************@posting.google.c om...
Hi guys,

In .NET, how can I convert a HTML file to TIFF efficiently?

One possible way is that I can first use word automatation to load the
HTML up and then print it to TIFF. Is that right? However, even if it
is technically feasible, it can take long time to do the conversion,
especially the HTML is complicated.

Is there any other more efficient way? Thanks!

How about converting HTML to JPEG? (The HTML is big, and I'm afraid
that the converted TIFF may be huge....)

Thanks
Dominic

Jul 21 '05 #2
Dominic, here's a list of site which offer free and not free products which
do what you want.

http://www.experts-exchange.com/Web/..._20694278.html

--
Greg Ewing [MVP]
http://www.citidc.com

"Dominic" <do****@hotmail.com> wrote in message
news:2b**************************@posting.google.c om...
Hi guys,

In .NET, how can I convert a HTML file to TIFF efficiently?

One possible way is that I can first use word automatation to load the
HTML up and then print it to TIFF. Is that right? However, even if it
is technically feasible, it can take long time to do the conversion,
especially the HTML is complicated.

Is there any other more efficient way? Thanks!

How about converting HTML to JPEG? (The HTML is big, and I'm afraid
that the converted TIFF may be huge....)

Thanks
Dominic

Jul 21 '05 #3
Thanks for your answer. I'm afraid that I didn't express my question
clearly. I actually want to do the conversion programmatically in C#.

"Greg Ewing [MVP]" <gewing@_NO_SPAM_gewing.com> wrote in message news:<OA**************@TK2MSFTNGP12.phx.gbl>...
Dominic, here's a list of site which offer free and not free products which
do what you want.

http://www.experts-exchange.com/Web/..._20694278.html

--
Greg Ewing [MVP]
http://www.citidc.com

"Dominic" <do****@hotmail.com> wrote in message
news:2b**************************@posting.google.c om...
Hi guys,

In .NET, how can I convert a HTML file to TIFF efficiently?

One possible way is that I can first use word automatation to load the
HTML up and then print it to TIFF. Is that right? However, even if it
is technically feasible, it can take long time to do the conversion,
especially the HTML is complicated.

Is there any other more efficient way? Thanks!

How about converting HTML to JPEG? (The HTML is big, and I'm afraid
that the converted TIFF may be huge....)

Thanks
Dominic

Jul 21 '05 #4
Try Html Snapshot Component
http://www.guangmingsoft.net/htmlsnapshot/help.htm
Directly save the web page at a given URL into image in bmp, jpeg,
tiff, gif or png format. i.e. html to image, html to jpg function you
are looking for.
Directly convert html string to images.
Support saving the whole html page to image without scrollbars.
Create thumbnail images from large images.
Get links, title, cookie or html source of a page
Get the html document DOM interface
Make gray or black and white images
Reduce color number in images while keeping better quality.
Examples in VC, Delphi, VB, VB.Net, C#, ASP, ASP.Net, PHP, Perl,
Python, Cold Fusion, VB and Java script as well as Java are provided.
Support JPEG compression level and TIFF compression method selection

Jul 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Nicolas Guilhot | last post by:
Hi all ! I have a multi-page Tiff image file that I want to convert to PDF. To do so I am using iText library. The conversion is working, but the code execution is very different according to...
0
by: David | last post by:
I have a C# application that functions as follows: 1. Log onto a pop3 mail account 2. search for any messages from a given source. 3. Get the attachment from the message. (This attachment will...
5
by: Dominic | last post by:
Hi guys, In .NET, how can I convert a HTML file to TIFF efficiently? One possible way is that I can first use word automatation to load the HTML up and then print it to TIFF. Is that right?...
0
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. ...
1
by: Glenn Wilson | last post by:
I have been given a small project and was looking for some help. I need to convert doc file to tif documents, now I can do this by using a printer driver to do the change, but I need to be able to...
1
by: Daniel | last post by:
I have looked everywhere on the web for an answer to this and the only thing I can find is converting the image format when the file is present on the local filesystem. What I want to do is use a...
0
by: Ayman | last post by:
Hi All, I develop an application to send fax using Dialogic card. I have to convert any file need to be sent to tiff file. I can convert any image file to tiff, but I would like to know how to...
0
by: stuinstra35 | last post by:
I need help converting a PixelFormat.Format16bppRgb555 image to a PixelFormat.Format1bppIndexed image in VB.net The images I'm working with are all black and white documents. I create the...
0
by: ashz | last post by:
Hi All, I want to convert any document to tiff file format. Is it possible using dot net. Actually i have a simple button in my form that open a OpenFileDialog control. Using this i get the...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
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,...
0
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...

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.