Html To Image Update
Monday, October 5th, 2009We just released a new version of html to image. A coupe of issues are fixed.
Please welcome download and try freely!
We just released a new version of html to image. A coupe of issues are fixed.
Please welcome download and try freely!
Sometimes you may want to use html2image in an enviroment that needs to set proxy.
One of our customers shares his tip on this problem. here it is:
Configure the proxy options into ./html2image/greprefs/all.js.
Example below, this is the standard firefox proxy setting
pref(“network.proxy.autoconfig_url”,       “http://myProxy/myScript”);
pref(“network.proxy.type”,                 2);
If you have any comments on this solution, let us know!
Â
X64 windows is becoming more and more polular platform. Htmlsnapshot component has supported html to image on windows x64 platform along with the industry trend.
There are mainly four x64 windows: XP x64, Vista X64, Windows 2003 x64, Windows 2008 X64. The first two are client platform while the last two are server version.
To convert html [...]
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.
1. Install Ubuntu 64
2. Login into the server (you can use the text mode login here. This [...]
Here are a more complete examples of using htmlsnapshot to convert html to image with php on Windows.
Note the following things:
1. You copy/paste the below code into test.php and run on command line
php.exe test.php
2. Yon can see it uses GetErrorCode to handle errors to make your code more robust.
<?php
$url = “http://google.com/“;
$path = “.\\”;
$img = “1.jpg”;
$timg [...]
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)
set args = WScript.Arguments
num = args.Count
if num <> 2 then
[...]
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.
To convert such web page into image, you can do it with our award winning htmlsnapshot product.
Manage WordPress Comments
Subscribe To Comments – Allows readers to recieve notifications of new comments that are posted to an entry.
WP AJAX Edit Comments – Allows users and admins to edit comments on a post inline using AJAX.
Get Recent Comments – displays excerpts of the most recent comments and/or trackbacks that have been posted to the [...]
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
Set WshShell = WScript.CreateObject(“WScript.Shell”)
‘Declare object
Dim snap
Set snap = CreateObject(“HTMLSNAP2.HtmlSnap.1″)
snap.SetTimeOut CLng(200000)
snap.SnapUrl “http://www.google.com/“, “google.tiff”
‘Set CCITT3 encoding for [...]
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” />
Then you can use htmlsnapshot to capture the html string into image with the [...]