Archive for the 'Html To Image' Category

Convert html to image at a given size.

Saturday, May 6th, 2006

Html snapshot can capture the whole html page into image as JPG, TIFF and PNG etc. Sometimes, you may not need a full image but an image at a given width and height. There are several ways to do this:
 1. Use EnableSnapDimensionAsImageSize and SetSnapDimension

Tutorial: Install php and run html snapshot with IIS

Friday, May 5th, 2006

So you are a PHP fan that wants to convert html to image? You can do it with html snapshot with php on windows server. This tutorial shows how to do this with php and IIS. ( Apache for windows can also be used as well.)
My steps (based on Win2003)
1. Download php for win32 from php.net
http://www.php.net/downloads.php

Convert html to EMF and WMF with html snapshot

Tuesday, May 2nd, 2006

As you know, Html snapshot can convert html to raster image format like jpg, jpeg, tiff, png, gif and bmp.
Now it can convert html to vector image format like EMF and WMF. It is a new feature of html snapshot. Hope you like it.

Convert html to image on Linux now!

Sunday, April 16th, 2006

We just released a html to image tool for Linux: html2image for Linux.
The features are:

Html Snapshot update.

Saturday, March 25th, 2006

When converting html to image, html snapshot will hold a bitmap in memory.
Some html will result a large image which will use a large amount of memory.

Get html snapshot now

Sunday, March 19th, 2006

If you are a developer that is looking for one the solution for the following tasks, then you come to the right place:

php script that will take screen shot of website
convert html text into an image in asp.net
convert html to image
html to image conversion in asp.net, .net
html to jpeg converter
web site to thumbnail in C#
capture html page in […]

Tip on using html to image

Friday, March 3rd, 2006

You may have a lot of html files to convert to image. It is very easy to do it with html to image.
In your Windows explorer, do a search for the html files in some folder on your disk. Explorer will list all the html files in the folder including sub folders.

A trick on converting html with flash to image

Friday, February 17th, 2006

Normally when a html page is fully loaded, there will be an event generated by web browser.   
Pages with flash movie can be different. Since flash movie has a feature that loads itself from servers. With this feature, it is hard to tell when the flash movie has been fully loaded. The web browser first downloads a […]

Html Snapshot Sample in Windev

Monday, February 13th, 2006

WINDEV, a powerful IDE, lets you build strategic projects easily and quickly thanks to its total integration, ease-of-use and cutting-edge technology.
Support .Net, Java code and more!
I don’t use Windev before. This Windev example is kindly provided by one of our customers.

Html To Image New Version Released

Sunday, February 12th, 2006

We released a new version of html to image 2.0.2006.208.
This version fixes some small problems.

Html To Image: GetImageBytes method

Friday, February 10th, 2006

Some times you may not want to write the image converted from html page to an image file. You may want to write the image data to another place like a network stream or a database, etc.
GetImageBytes is designed for this kind of scenerio. It is used to do in memory compression of the bitmap […]

Redistribute html to image

Monday, February 6th, 2006

After integrating html snapshot with your application, the next thing may be redistributing it so that every user of the app. can convert html to image by installing your app.
For registered users, it’s totally free to redistribute the htmlsnap2.dll.
Since htmlsnap2.dll is an ActiveX server, it must be registered like any other ActiveX component on […]

Another html to image note

Sunday, February 5th, 2006

When doing html to image conversion with html snapshot, the image will be rendered with current display context.
So to achieve the best image quality, the display mode needs to be in true color mode, either 24 or 32 bits. Almost every video card can support the above mode nowadays.
The other thing related is […]

One html to image note

Saturday, February 4th, 2006

Currently html snapshot converts the whole html document into an image.
Html document may be very large so the resulted image will be large as well. If the video card ram memory on the machine is low, the bitmap image may not be able to be held for rendering. So it will lead to a snap […]

Multithreaded Html to Image

Friday, February 3rd, 2006

Html snapshot ActiveX is a thread safe COM component. It uses single apartment COM threading model. So if you want to use multiple instances of html snapshot in several threads, you can create work threads and in each work thread create the html snapshot object, then you can convert html to image in the threads.
 

html to fax with html snapshot

Thursday, February 2nd, 2006

Some people may want to fax a html document in their application. First it is necessary to convert the html document into image that the fax driver can understand. Fax machines typically support TIFF format which supports multiple encoding scheme. Html Snapshot has full support for TIFF encoding. It supports LZW, CCITT3, CCITT4 and RLE (Pack […]

How to do manual registration of Html To Image.

Thursday, January 26th, 2006

Some people experienced strange problem when registering html to image from the UI. We usually solve it by manually registering. Here is the process:

Convert html to image in IIS

Sunday, January 22nd, 2006

This article will discuss how to use html snapshot to convert html to image (JPG, TIFF, GIF, PNG and BMP) under IIS (with ASP or ASP.net)
First, we will discuss IIS 5.0 on Windows XP.  

Html To Image Command Line version

Tuesday, January 17th, 2006

Some customers are interested in a command line version of Html To Image.
We do have such version. Currently it is provided with our ActiveX component product html snapshot. You can download the trial package here. There is a batch program with Delphi source code in Demo\Delphi\Batch. 
Batch is a command line example of Html Snapshot.
Usage:
BatchGet.exe urllist […]

short note on GetBitmapHandle

Monday, January 16th, 2006

In our Html Snapshot, there is a method GetBitmapHandle, which is to return an in-memory bitmap after a successful SnapUrl call. This method is useful when user wants to add some post processing to the image converted from html. For example, you may want to add your customer watermark text or image onto the html image or […]

Html Snapshot 2.1.2006.111 released

Sunday, January 15th, 2006

Dear customers:  
This is the first release of the 2006. We are still committed to improve Html snapshot in this year to provide you the best “html to image” converter component.
Here are some changes: