Convert webpage to image!
Taking snapshots of webpages is an often and highly usable programming task.
But the general purpose webpage snapshot tools aren't very good for the task.
If you want one powerful yet compact solution for the problem
which can be used virtually with any programming language,
take HtmlCapture.
HtmlCapture ActiveX component is designed to convert html to image and html to PDF,
using the functionality of Microsoft Internet Explorer and Mozilla Firefox.
It exports many functions, which help you easily create html snapshot or web page thumbnail of the captured image.
Supported output formats includes PDF, JPG, JPEG, PNG, GIF, TIFF, BMP, TGA, and PCX.
Vector image formats like EMF and WMF are also supported. That is to say, HtmlCapture can be use to convert html to pdf, html to jpg, html to jpeg, html to png, etc.
The output image can be further customized.
For example, you can set the method, the compression level, the color depth, or the resolution of any snapshot.
Web page thumbnails can also be created.
More than 30 samples written in all kinds of common languages are given to help you start creating your own projects immediately.
These languages include Visual C++, C#, Visual Basic, Delphi, C++ Builder, Java, JScript, Perl,
VBScript, ASP, ASP.net and PHP. Click to a list of all sample demos
The followings are two html thumbnails in jpeg format. Click on the thumbnails, you can see the full snapshots in png format.
Firefox Rendering Engine!
Now you can get snapshot images rendered by Mozilla Firefox on the Fly.
Only one function call needed to switch from IE to Firefox rendering engine.
Convert webpage to PDF!
With HtmlCapture v2.0, it is now so easy to convert webpages to Adobe PDF documents.
You can either save one snapshot to PDF file directly or assemble serveral snapshots into one muti-page PDF document.
- Get snapshot images rendered by either Microsoft IE or Mozilla Firefox.
- Convert webpages into muti-page PDF documents.
- Just by calling SnapUrl() and SaveImage(), you can take a snapshot of a webpage into various images, such as BMP, JPG, JPEG, GIF, PNG, TIF, TGA and PCX.
- Convert html to vector image format like EMF and WMF.
- Self contained ActiveX control with no third party dependencies.
- By calling SnapHtmlString(), you can take a snapshot for a html string.
- Support custom gdi output of the resulting image.
- Support saving resulting image both to file and in memory.
- Support saving both full-size web page and thumbnail one.
- Take a snapshot of a whole webpage into one image without scrollbars.
- You can get all contents in a web page, such as title, links and so on.
- Make grayscale or B&W images with efficient algorithms to keep the quality.
- Support JPEG compression level, compression method selection of TIFF and GIF.
- Support setting color depth in images while keeping the quality of the image as much as possible.
- Selectively save activeX, image, java applets, scripts and videos on a web page as you want.
- Send custom cookies, http headers, credentials in snapshot requests.
- Take snapshots of webpages via a Proxy server.
- More than 30 samples written in VC, C#, Delphi, VB, C++ Builder, Java, JScript, Perl, VBScript, ASP, ASP.net and PHP are provided.
More than 30 samples included in distribution file for the most popular programming languages are provided.
The samples will let you start creating your own projects immediately. Here is a list of them.
Download HtmlCapture v2.0 NOW to Try it for FREE!
No functionality limitation except watermarks in the generated image for the unregistered version.
When the trial period expires, you can register the product with an registration code sent instantly upon purchase via email. You'll get
Full use of HtmlCapture with no watermarks.
Ordering HtmlCapture online is safe, secure and guaranteed via plimus!
FREE update for future versions
FREE customer support
If you have more users or any questions about pricing policy, please send your request to
- Question: How to remove the blue lines on the captured image?
Answer: Once you purchased HtmlCapture, an regcode will be emailed to you. Then you may call SetRegInfo() with your reg name and reg code to remove those blue lines and trial infos.
- Question: How can I choose Firefox as the default rendering engine?
Answer: Call SetRenderingEngine("FIREFOX") before you calling SnapXXX() functions.
- Question: How can I save snapshots into a PDF document?
Answer: Call CreatePDF() first. Then for each snapshot, call AddImageToPDF() once. Don't forget to call ClosePDF() to close the PDF document.
- Question: How can I use a different user agent string?
Answer: Call SetUserAgent() function with your user agent string.
- Question: Can I set custom HTTP headers for a snapshot process?
Answer: YES. Call SetCustomHeaders() function before calling SnapXXX() functions.
- Question: Can I draw some stuff programmatically to each snaphsot image?
Answer: YES. Write your drawing codes in your OnDraw() event handler. There is an HDC argement passed in.
- Question: Can I suppress the Login dialog while taking snap of a secure website?
Answer: YES. Call SetAccessCredential() function with your user name and password before calling SnapXXX() functions.
- Question: I access the web via a proxy server. How can I setup the proxy in HtmlCapture?
Answer: Call SetProxy() function with your proxy server's address, user name and password (if needed).
- Question: How can I control the dimension of the snapshot image?
Answer: If you want a thumbnail image, call SetThumbSize() function to set its dimension.
If you want a part of the image, call SetClipRect() function.
If you want a full-size image, SetMinBrowserSize() will be helpful.
- Question: Can I retrieve a list of links on the webpage just snapped?
Answer: YES. You may call GetDocumentLinks() to retrieve the links.
- Question: Can I post some data to the webpage in snapshot process?
Answer: YES. You may call SetPostData() before calling SnapUrl() function.
- Question: I got an "Access Violation" error while running the Delphi demo. How can I fix it?
Answer: Remove the HtmlCapture_TLB.pas from project and re-import HtmlCapture.dll.
- Question: Does the license allow me to redistribute your .dll's ?
Answer: If you use HtmlCapture in a desktop application, then YES. If you use it on a web application, please contact us (sales@polestarsoft.com).
- Question: Can I do something with the webpage's content in the snapshot process?
Answer: Maybe SetStartScript() function is helpful. For examle, SetStartScript("document.body.innerHTML += 'My Extra Content'");
- Question: Can I save a long HTML file into separate images?
Answer: YES. You may separate the image into several parts. For each part, call SetClipRect() and SaveImage(). For an example, see the SeparateImage demo in DEMOS directory.
- Question: I got an error with follwing message - "COM object with CLSID {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} is either not valid or not registered". How can I fix it?
Answer: The error is caused by not registering HtmlCapture. You may run the setup program again or run regsvr32 HtmlCapture.dll from command line to register it.
- Question: Can I get vector images using HtmlCapture?
Answer: YES. You can covert html files to EMF and WMF just by call ISnapShooter.SaveImage() method of HtmlCapture.
- Question: Can I save a web page selectively?
Answer: YES. Using ISnapShooter.SetActiveXEnabled(), ISnapShooter.SetImageEnabled(), ISnapShooter.SetJavaEnabled(), ISnapShooter.SetScriptEnabled() and ISnapShooter.SetVideoEnabled() methods of HtmlCapture, you can freely control whether to download them or not.
- Question: What languages does it support?
Answer: VC, C#, Delphi, VB, C++ Builder, JScript, Perl, VBScript, ASP, ASP.net and PHP etc. We have provided Samples for all of the above languages.
- Question: Why our reg code can't remove the blue lines?
Answer: The reg code for HtmlCapture version 1.0 is not valid for version 2.0. Please make sure you have the right reg code. If not, you can
learn more about the upgrade information from the following url: http://www.polestarsoft.com/htmlcapture/upgrade.php
- Question: Can I set color depth of the resulting image?
Answer: YES. By calling ISnapShooter.SetBpp(), you can set color depth of the resulting image.
Besides converting html to image or PDF, HtmlCapture can alse be used as the following file format converters:
- Convert Web Archive Format (*.MHT) file to image or PDF
- Convert macromedia flash to image or PDF
- Convert the Vector Markup Language(VML) to image or PDF
- Convert Scalable Vector Graphics(SVG) to image or PDF
In a word, any format files can be embeded in html can be converted to image or PDF files using HtmlCapture component. So, if you are looking for a component can do the following jobs: convert html to image, html to pdf, html to jpg, html to jpeg, html to png, html to tif(tiff), html to bmp(bitmap), html to gif, webpage to image, webpage to jpg(jpeg), webpage to pdf, webpage to png, webpage to tiff, web page to image, web page to jpg(jpeg), web page to pdf, web page to png, web page to tiff, web page capture, html capture, html2image, html2png, html2jpg, HtmlCapture is a very good choice!
- Platform: Windows 2000/XP/2003/Vista
- Web Browser: Internet Explorer 5 above
|
 Editors' Reviews
|