Archive for the 'Html To Image' Category

How to run html2image linux on Ubuntu64

Saturday, March 8th, 2008

Here is detailed example on how to use html2image linux on Ubuntu 64 bit (Ubuntu 7.10 - the Gutsy Gibbon)
This serves as a good example on how to use html2image. Other 64 bit Linux distribution can be done similarly.

convert html to image with htmlsnapshot in php

Saturday, March 1st, 2008

Here are a more complete examples of using htmlsnapshot to convert html to image with php on Windows.
Note the following things:

A handy script to convert html to image

Monday, February 11th, 2008

You may need to run a command line utility to convert html or url to image. Here is a handy script that converts url/html to image with our award winning htmlsnapshot product.
Save the below code into a script snapurl.vbs (Or you can find this script in htmlsnapshot\demo\vbscript)

Capture silverlight web page into image

Thursday, February 7th, 2008

Silverlight is the new web authoring technology proposed by Microsoft. It is implemented as an ActiveX like the Flash.
It can be used to build interactive, vector based web pages.

Convert html to multipage tiff file

Tuesday, December 25th, 2007

 Htmlsnapshot now supports converting html into multiple page tiff files. here is the sample code. You just need to specify the page width in pixel. The component will save the image into a multipage tif.
‘demo html to multipage tiff generation function

SnapHtmlString wtih CSS

Saturday, November 24th, 2007

It is possibe to use html CSS sheet with SnapHtmlString when converting a html string to image.  The trick is to store the css in a local file and refer to it in the html string like below:
<link href=”file://c:/Styles.css” rel=”stylesheet” type=”text/css” />

Capture image in an existing webbrowser control

Monday, October 1st, 2007

Htmlsnapshot can capture image of an existing webbrowser control and save it into jpg, bmp, gif, png etc.
You need to pass the object instance of the webbrowser control (IDispatch in C++).

html to image 2.0.2007.901

Sunday, September 2nd, 2007

We just released a new version of html to image
It fixes an issue when capturing javascript enabled page such as the google map.

Detect if a URL is text/html

Saturday, July 7th, 2007

Our htmlsnapshot component is designed to convert html or text content into image.
If a URL is not text/htm content,  the snapUrl method may fail.

Convert html to image with Html Snapshot Component

Sunday, May 20th, 2007

Do you ever want to take a screen shot of a web page in your desktop or web application? HTML Snapshot ActiveX is a software component that can make html to image easier than ever before. It can download and parse web sites and save a screenshot of the page in GIF, JPG, JPEG, BMP, […]

Snap a URL with http authentication.

Monday, April 2nd, 2007

Some times a URL is protected by autentication scheme such as http authentication or NTLM if you are in a windows domain network. It ususally asks user to input username and password so as to access the protected URLs by poping up a dialog.
Our  Htmlsnapshot now supports authentication URLs with a method called SetAuthUserAndPasswd

Difference between html to image and htmlsnapshot

Saturday, March 3rd, 2007

html to image is an end user product for normal users.  It has a UI to batch convert a lot of URLs to image.
htmlsnapshot is a component that aims to be used by developers.  It allows  maxinum flexiblity by providing a set of methods

A design for large scale URL or html to image system

Saturday, January 27th, 2007

Htmlsnapshot is a component to convert html or url to image. It can be used to build large scale URL to image conversion system. Here, the large means the system is designed to convert millions of URLs to image in the future.
My recommendation for making a robust system is to use process based method.  There are […]

Convert html to image without temporary files in C#

Saturday, January 20th, 2007

The easiest way is to use our award-winning product htmlsnapshot.
Here are some guidelines:

FAQ: how to control the size of the image that is getting generated on Linux.

Friday, January 5th, 2007

When you use html2image Linux on Linux OS, you can convert any URL into image.
But some times, you may need more advanced image processing features such as controlling the size of the image.
The solution is simple: you can use tools like ImageMagick or perl to easily resize the image to your size requirements after converting html […]

Html snapshot new release

Wednesday, January 3rd, 2007

Well, it is new year. A new release of htmlsnapshot product is updated.
DrawTxt method is added to allow user to add text watermark to the captured image.

html2image linux new release

Saturday, December 23rd, 2006

We release a new version of html2image linux
This version fixes the problem of https URL.

Check snap errors with htmlsnapshot

Wednesday, September 13th, 2006

htmlsnapshot supports reporting error code for SnapUrl function. This can help you decide the problem of failing to snap certain pages.
 It works like this:

Convert SVG to image

Thursday, August 31st, 2006

Htmlsnapshot can convert html with SVG to image as well. To do this, you need to install the free SVG plugin from Adobe.
http://www.adobe.com/svg/viewer/install/main.html

Save html to gif

Wednesday, August 23rd, 2006

Htmlsnapshot supports converting html to gif. And it supports creating transparent GIF as well.
The SetGIFOption can be used to enable or disable transparent Gif

Create high quality image from html

Tuesday, August 15th, 2006

htmlsnapshot generates the image at the screen DPI by default. To get a higher resolution image, there are two methods.
1. Use setzoom and setDPI method.  The following code zooms the image 3 times and set DPI as 300, 300

Convert VML To image

Wednesday, August 9th, 2006

VML is a kind of vector based graphic format.
html snapshot can convert VML to image like jpg, tiff etc. 
In Win2003, there is an “IE enhanced security” component which may restrict some behaviour of rending vml to image.  

Write image back to browser

Sunday, August 6th, 2006

Want to send an image from php to browser?  You can use code like this
< ?php
header('Content-type: image/jpg');
readfile('your.jpg');
?>
 

Generate html thumbnail directly

Saturday, July 22nd, 2006

You can generate thumbnail for a web page with html snapshot in several ways.
You can do in an easy way:
snap.SnapUrl(”www.google.com“, “1.jpg”)

html2image linux updated

Saturday, July 15th, 2006

We have added the functions:
 
1. Handle time out for some URL.
2. A web server wrapper around it so the html to image function can be called via http request at a speical port. Especially designed for php etc.
check it out

Convert local html file to image

Friday, June 30th, 2006

Some people want to convert html file at local disk to image. This can be done with html snapshot easily
Suppose your local html file is c:\1.htm, you can call html snapshot like this to convert it into jpg file:

Customer comments on html snapshot

Friday, June 30th, 2006

Customer satifaction is one of our goal and motivation to start software business. We always work hard to ensure our customers are satisfied with our products or services. And we would like to collect customer’s feedback and comments on our products as well.
Here are some of the comments we got:

html to jpg, jpeg on linux

Saturday, June 24th, 2006

We have updated our html2image for Linux product.
The new added feature is to support jpg and jpeg file format.

Convert EMF or WMF to Image

Saturday, June 3rd, 2006

Html snapshot supports converting html to vector image format such as EMF  and WMF.
Now it also supports the function to convert EMF or WMF into raster image format like JPG, JPEG, BMP, TIFF, PNG or GIF.

Html to image on Linux

Saturday, May 20th, 2006

If you want to convert html to image on linux, try out html2image linux
It is a command line tool that is easy to use.