HTML Snapshot ActiveX Component
Not only html files, the plain text files as well as the Web Archive Format (*.MHT) files can be converted to image with HTML Snapshot easily, too.
HTML Snapshot can allow you to batch process URLs from a text file and automatically parse a large number of sites. HTML Snapshot is a standard COM DLL server, allowing you to generate a thumbnail via query string from your web browser. This is one of the best HTML to image converters.
HTML Snapshot can capture web pages with flash movie without problem. Check out the snapshot of macromedia.com. Get interested?
You may want to control the compression quality of JPEG or change the compression method of TIFF image. No worry. Html Snapshot has done these for you. For TIFF, you can easily get images ready for Windows FAX Service.
With Html Snapshot, you can build thumbshot server for millions of web pages easily. You have full control of the database yourself. And Html Snapshot is especially suitable to be used on server side. It works well on Windows 2000 Server, Windows 2003 Server and can be used with popular server side script languages like ASP, ASP.Net, PHP and Perl etc. No need to pay monthly subscription fee for thumbshot service providers now!
Html Snapshot can convert the VML - the Vector Markup Language to image. VML markup can be embeded in html files so it can be converted just like "html to jpg".
HTML Snapshot ActiveX Component can take (capture) a whole snapshot of a given URL. It downloads web page and then capture it as image. It can be easily integrated into applications written in languages that support ActiveX Component such as Visual C++, Visual Basic, Delphi, C++ Builder, .Net languages, Java, Scripts like Perl, Php, Python.
Here is the snapshot of this page captured by HTML Snapshot.
If you are looking for the programs, such as convert html to image, html image, html2image, html to image, htm2img, htm to img, html2gif, html to gif, html2jpg, html to jpg, html2jpeg, html to jpeg, html2bmp, html to bmp, html2png, html to png, html2tiff, html to tiff, software to convert html to image, this is the best of all. HTML Snapshot works with all Windows version with Internet Explorer 5.0 or above and with Internet Connection. It is a program without any hassle to install. Just save it to your desktop and run our demos.
Sometimes, you may want to convert 24 bit color bitmap file to gif file, which only supports 256 colors. Html Snapshot provides function to effectively reduce the color in image while keeping the quality of the image as much as possible.
My fellow programmers, don't spend your precious time to reinvent the wheel now. Get Html Snapshot for ONLY $149.95 NOW! Then you can easily add the "Html to jpeg" function to your web or desktop applications. You can call it from your favorite development tools. Many working examples are supplied. Just have a look at them, you will find html snapshot is so easy to use.
Note: If you are
looking for an application that converts html to image. Please try
Html To Image
Unsure? Unconvinced? I understand. We'll also throw in FREE tech support
But if you're still not sure, try it out for FREE in your applications to convert html to image NOW.
We are committed to improving Html Snapshot Component constantly. See History
We have also posted a series of tutorial articles to help you use html snapshot. Feel free to read it.
Html Snapshot Sample in Windev
convert html to image, html to jpg, html to image, html to tiff, html to gif, html to bmp, html to png
Windows Platform, Internet Explorer 5 above, Internet connection, High color display mode.
SnapUrl(String strUrl, String strPicFile);
Description: the main function to convert html to image
strUrl: The URL of the web page to be taken snapshot.
strPicFile: The local image file to be
saved. It should be a valid file name. For example, c:\1.jpg or c:\1.bmp
etc. Currently the component supports jpg, bmp, gif, tiff and png format.
It will convert html to image in the format given by the file
SnapHtmlString(String strHtml, String strPicFile);
strUrl: A html string
strPicFile: The local image file to be saved.
GetThumbnailImage(String strInputFile, String strOutputFile, Long cx, Long cy, Long bRemainRatio)
strInputFile : The input image file
strOutputFile : The thumbnail image file to be saved
cx, cy : The dimension of the thumbnail image.
bRemainRatio: If bRemainRation is 0, the thumbnail image will be exactly the size of cx, cy; else then remain the original image's aspect ratio.
ReduceColor(String strInputFile, String strOutputFile, Long nColors)
Description: Reduce the color number in input image. nColors is in [8-256].
MakeGrayImage(String strInputFile, String strOutputFile, Long bGrayOrBW)
Description: convert a color image to gray or black white only. If bGrayOrBW = 0 then, the result image is black white only, else it is gray.
strCode : Set the registration code to eliminate the limitation in trial version.
nTimeOut : The time out value in milliseconds for SnapUrl. Using this to avoid hang. The default TimeOut value is 30000
nDelayTime: The time value in milliseconds to wait after a html document is downloaded. Sometimes, a page contains ActiveX like flash, which takes some time to initialize. This method can be used to control the timing to capture the content of the dynamic embeded objects. Default nDelayTime value is 1000.
bAsync : If set to True, SnapUrl function will work asynchronously, which means it will return immediately without waiting for the results. Application can use the event to determine if the operation is done. If set to False, SnapUrl will wait until the operation is done or the time is out.
bEnable : Determine if ActiveX is enabled on the html page
bEnable : Determine if Java is enabled on the html page
bEnable : Determine if Script is enabled on the html page
SetSnapDimension(long cx, long cy)
Description: Set the width and height of the web browser window. The browser window size will affect the html document size in some way.
Description: Force the captured image size to be the dimension set by SetSnapDimension. If the dimension is larger than that of the html document, the gap will be filled with background color of the page. The default value is FALSE.
Description: Set the data to be posted to the URL. Use this function for some urls protected by forms.
SetJPEGQuality (long n)
Description: Set the quality of JPEG Compression. n is between 0 and 100
Description: Set the dither method when converting to 1bpp image. 0: None; 1: Floyd dithering; 2:Ordered dithering
Description: Set the compression method of TIFF image. 0: LZW; 1: CCITT3; 2:CCITT4; 3: RLE; 5: None.
Description: Set the threshold value (0-255) when converting image to monochrome.