<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>Htm2Pic</title>
	<atom:link href="http://www.htm2pic.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.htm2pic.com</link>
	<description>take a snapshot of a webpage, create website thumbnail, convert html to image, htm2jpg</description>
	<pubDate>Sat, 13 Sep 2008 05:31:00 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>Htm2Pic ActiveX Control API Manual</title>
		<link>http://www.htm2pic.com/2008/08/14/htm2pic-activex-control-api-manual/</link>
		<comments>http://www.htm2pic.com/2008/08/14/htm2pic-activex-control-api-manual/#comments</comments>
		<pubDate>Thu, 14 Aug 2008 02:54:18 +0000</pubDate>
		<dc:creator>flying99koo</dc:creator>
		
		<category><![CDATA[Htm2Pic]]></category>

		<category><![CDATA[Online Help]]></category>

		<guid isPermaLink="false">http://www.htm2pic.com/2008/08/14/htm2pic-activex-control-api-manual/</guid>
		<description><![CDATA[All property &#038; function names are self-explanatory. You&#8217;d be able to understand them even without the manual. However, I  hate great product with poor documentation. The following type library definitions are written in Delphi, one of my favourite programming languages. OK, let&#8217;s go&#8230;

Properties
Functions
Events
Enumerations

Properties


{&#60;&#60;&#60; Output filename for snapshot image (full-length page)&#62;&#62;&#62;}
// eg. 'snapshot.gif', 'c:\webshot.jpg'
// default [...]]]></description>
			<content:encoded><![CDATA[<h3>All property &#038; function names are self-explanatory. You&#8217;d be able to understand them even without the manual. However, I  hate great product with poor documentation. The following type library definitions are written in Delphi, one of my favourite programming languages. OK, let&#8217;s go&#8230;</h3>
<blockquote>
<li><a href="#properties">Properties</a></li>
<li><a href="#functions">Functions</a></li>
<li><a href="#events">Events</a></li>
<li><a href="#enumerations">Enumerations</a></li>
</blockquote>
<h4>Properties</h4>
<p><a name="properties" title="properties"></a></p>

<div class="wp_syntax"><div class="code"><pre class="delphi"><span style="color: #808080; font-style: italic;">{&lt;&lt;&lt; Output filename for snapshot image (full-length page)&gt;&gt;&gt;}</span>
<span style="color: #808080; font-style: italic;">// eg. 'snapshot.gif', 'c:\webshot.jpg'</span>
<span style="color: #808080; font-style: italic;">// default value : 'snapshot.PNG'</span>
<span style="color: #000000; font-weight: bold;">property</span> OutputImage<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WideString</span> <span style="color: #000066;">read</span> Get_OutputImage <span style="color: #000066;">write</span> Set_OutputImage<span style="color: #000066;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">{&lt;&lt;&lt; Output filename for thumbnail image (created from snapshot image)&gt;&gt;&gt;}</span>
<span style="color: #808080; font-style: italic;">// eg. 'thumbnail.bmp', 'c:\thumb.png'</span>
<span style="color: #808080; font-style: italic;">// default value : thumbnail.PNG'</span>
<span style="color: #000000; font-weight: bold;">property</span> OutputThumbnail<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WideString</span> <span style="color: #000066;">read</span> Get_OutputThumbnail <span style="color: #000066;">write</span> Set_OutputThumbnail<span style="color: #000066;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">{&lt;&lt;&lt; Whether to process windows messages or not, set to TRUE 
only when you're calling from a win form app that has a message loop, 
which allows the control to fire &quot;OnStatusText&quot; event. Otherwise your UI 
would be frozen during snapshooting. For server side integration, 
errors may occur if this property is set to TRUE, so just leave it default &gt;&gt;&gt;}</span>
<span style="color: #808080; font-style: italic;">// default value : FALSE</span>
<span style="color: #000000; font-weight: bold;">property</span> ProcessWinMsg<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WordBool</span> <span style="color: #000066;">read</span> Get_ProcessWinMsg <span style="color: #000066;">write</span> Set_ProcessWinMsg<span style="color: #000066;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">{&lt;&lt;&lt; Browser window width in pixels &gt;&gt;&gt;}</span>
<span style="color: #808080; font-style: italic;">// default value : 800</span>
<span style="color: #000000; font-weight: bold;">property</span> BrowserWidth<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">Integer</span> <span style="color: #000066;">read</span> Get_BrowserWidth <span style="color: #000066;">write</span> Set_BrowserWidth<span style="color: #000066;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">{&lt;&lt;&lt; While creating thumbnail from original snapshot, 
Htm2PicX crops height to specified value in pixels. 
Thus you can pick the part you want and avoid getting a distorted one.
Set to zero if you do not want to crop. &gt;&gt;&gt;}</span>
<span style="color: #808080; font-style: italic;">// default value : 600</span>
<span style="color: #000000; font-weight: bold;">property</span> CropHeightTo<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">Integer</span> <span style="color: #000066;">read</span> Get_CropHeightTo <span style="color: #000066;">write</span> Set_CropHeightTo<span style="color: #000066;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">{&lt;&lt;&lt; Force to take snapshot if timeout &gt;&gt;&gt;}</span>
<span style="color: #808080; font-style: italic;">// default value : TRUE</span>
<span style="color: #000000; font-weight: bold;">property</span> ForceCapture<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WordBool</span> <span style="color: #000066;">read</span> Get_ForceCapture <span style="color: #000066;">write</span> Set_ForceCapture<span style="color: #000066;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">{&lt;&lt;&lt; Timeout in milliseconds &gt;&gt;&gt;}</span>
<span style="color: #808080; font-style: italic;">// default value : 10000 </span>
<span style="color: #000000; font-weight: bold;">property</span> TimeOut<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">Integer</span> <span style="color: #000066;">read</span> Get_TimeOut <span style="color: #000066;">write</span> Set_TimeOut<span style="color: #000066;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">{&lt;&lt;&lt; Delay in milliseconds. If set to zero, there would be no delay. &gt;&gt;&gt;}</span>
<span style="color: #808080; font-style: italic;">// default value : 0</span>
<span style="color: #000000; font-weight: bold;">property</span> Delay<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">Integer</span> <span style="color: #000066;">read</span> Get_Delay <span style="color: #000066;">write</span> Set_Delay<span style="color: #000066;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">{&lt;&lt;&lt; Jpeg compression quality control.  0-100, the bigger number the higher quality. &gt;&gt;&gt;}</span>
<span style="color: #808080; font-style: italic;">// default value : 95</span>
<span style="color: #000000; font-weight: bold;">property</span> JpegQuality<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">Integer</span> <span style="color: #000066;">read</span> Get_JpegQuality <span style="color: #000066;">write</span> Set_JpegQuality<span style="color: #000066;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">{&lt;&lt;&lt; You can create thumbnail image in 2 resizing methods, by fixed width&amp;height 
or by zoom ratio. These 2 properties are valid while &quot;ResizeType&quot; is 
set to RT_RECT(refer to &quot;Enumeration&quot; section). You can also call the &quot;SetThumbSize&quot; 
function to set these 2 properties at one time (refer to &quot;Functions&quot; section) &gt;&gt;&gt;}</span>
<span style="color: #808080; font-style: italic;">// default value : 400</span>
<span style="color: #000000; font-weight: bold;">property</span> ThumbWidth<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">Integer</span> <span style="color: #000066;">read</span> Get_ThumbWidth <span style="color: #000066;">write</span> Set_ThumbWidth<span style="color: #000066;">;</span>
<span style="color: #808080; font-style: italic;">// default value : 300</span>
<span style="color: #000000; font-weight: bold;">property</span> ThumbHeight<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">Integer</span> <span style="color: #000066;">read</span> Get_ThumbHeight <span style="color: #000066;">write</span> Set_ThumbHeight<span style="color: #000066;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">{&lt;&lt;&lt; Zoom ratio for thumbnail creation. Valid while &quot;ResizeType&quot; is set to RT_ZOOM &gt;&gt;&gt;}</span>
<span style="color: #808080; font-style: italic;">// default value : 0.50</span>
<span style="color: #000000; font-weight: bold;">property</span> ThumbZoomRatio<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">Double</span> <span style="color: #000066;">read</span> Get_ThumbZoomRatio <span style="color: #000066;">write</span> Set_ThumbZoomRatio<span style="color: #000066;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">{&lt;&lt;&lt; Resizing method for thumbnail creation &gt;&gt;&gt; }</span>
<span style="color: #808080; font-style: italic;">// default value : RT_RECT (refer to &quot;Enumerations&quot; section)</span>
<span style="color: #000000; font-weight: bold;">property</span> ThumbResizeType<span style="color: #000066;">:</span> ResizeType <span style="color: #000066;">read</span> Get_ThumbResizeType <span style="color: #000066;">write</span> Set_ThumbResizeType<span style="color: #000066;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">{&lt;&lt;&lt; By default, Htm2PicX send request to the given URL using &quot;GET&quot; method.
If this property gets set, &quot;POST&quot; method would be used instead, you know the rest &gt;&gt;&gt; }</span>
<span style="color: #808080; font-style: italic;">// eg. 'username=dennis&amp;password=123456'</span>
<span style="color: #808080; font-style: italic;">// default value : empty</span>
<span style="color: #000000; font-weight: bold;">property</span> PostData<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WideString</span> <span style="color: #000066;">read</span> Get_PostData <span style="color: #000066;">write</span> Set_PostData<span style="color: #000066;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">////////////////////////////////////////</span>
<span style="color: #808080; font-style: italic;">///  download control properties  ///</span>
<span style="color: #808080; font-style: italic;">////////////////////////////////////////</span>
&nbsp;
<span style="color: #808080; font-style: italic;">// Disable script</span>
<span style="color: #808080; font-style: italic;">// default value : FALSE</span>
<span style="color: #000000; font-weight: bold;">property</span> NoScript<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WordBool</span> <span style="color: #000066;">read</span> Get_NoScript <span style="color: #000066;">write</span> Set_NoScript<span style="color: #000066;">;</span>
<span style="color: #808080; font-style: italic;">// Disable activex</span>
<span style="color: #808080; font-style: italic;">// default value : FALSE</span>
<span style="color: #000000; font-weight: bold;">property</span> NoActiveX<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WordBool</span> <span style="color: #000066;">read</span> Get_NoActiveX <span style="color: #000066;">write</span> Set_NoActiveX<span style="color: #000066;">;</span>
<span style="color: #808080; font-style: italic;">// Disable java applet</span>
<span style="color: #808080; font-style: italic;">// default value : TRUE</span>
<span style="color: #000000; font-weight: bold;">property</span> NoJava<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WordBool</span> <span style="color: #000066;">read</span> Get_NoJava <span style="color: #000066;">write</span> Set_NoJava<span style="color: #000066;">;</span>
<span style="color: #808080; font-style: italic;">// Disable image</span>
<span style="color: #808080; font-style: italic;">// default value : FALSE</span>
<span style="color: #000000; font-weight: bold;">property</span> NoImage<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WordBool</span> <span style="color: #000066;">read</span> Get_NoImage <span style="color: #000066;">write</span> Set_NoImage<span style="color: #000066;">;</span>
<span style="color: #808080; font-style: italic;">// Disable video</span>
<span style="color: #808080; font-style: italic;">// default value : TRUE</span>
<span style="color: #000000; font-weight: bold;">property</span> NoVideo<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WordBool</span> <span style="color: #000066;">read</span> Get_NoVideo <span style="color: #000066;">write</span> Set_NoVideo<span style="color: #000066;">;</span>
<span style="color: #808080; font-style: italic;">// Disable background sound</span>
<span style="color: #808080; font-style: italic;">// default value : TRUE</span>
<span style="color: #000000; font-weight: bold;">property</span> NoBgSound<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WordBool</span> <span style="color: #000066;">read</span> Get_NoBgSound <span style="color: #000066;">write</span> Set_NoBgSound<span style="color: #000066;">;</span></pre></div></div>

<h4>Functions</h4>
<p><a name="functions" title="functions"></a></p>

<div class="wp_syntax"><div class="code"><pre class="delphi"><span style="color: #808080; font-style: italic;">{&lt;&lt;&lt; Get your user name and registration key set to remove watermarks in generated images&gt;&gt;&gt;}</span>
<span style="color: #000000; font-weight: bold;">procedure</span> SetRegInfo<span style="color: #000066;">&#40;</span><span style="color: #000000; font-weight: bold;">const</span> AUsr<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WideString</span><span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">const</span> APwd<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WideString</span><span style="color: #000066;">&#41;</span><span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">safecall</span><span style="color: #000066;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">{&lt;&lt;&lt; Main functions for taking a snapshot of a webpage, the &quot;Url&quot; param could be
 a valid internet URL or a local webpage that may be rendered in common webbrowser. 
The leading protocal identifier &quot;http://&quot; is not necessary for URLs.
eg. 'http://www.google.com', 'www.yahoo.com' , 'C:\mypage.html'  
For return value, refer to &quot;Enumerations&quot; section. &gt;&gt;&gt;}</span>
<span style="color: #000000; font-weight: bold;">function</span> Snapshot<span style="color: #000066;">&#40;</span><span style="color: #000000; font-weight: bold;">const</span> Url<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WideString</span><span style="color: #000066;">&#41;</span><span style="color: #000066;">:</span> SnapshotResult<span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">safecall</span><span style="color: #000066;">;</span>
<span style="color: #000000; font-weight: bold;">function</span> SnapshotAs<span style="color: #000066;">&#40;</span><span style="color: #000000; font-weight: bold;">const</span> AURL<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WideString</span><span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">const</span> AOutput<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WideString</span><span style="color: #000066;">&#41;</span><span style="color: #000066;">:</span> SnapshotResult<span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">safecall</span><span style="color: #000066;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">{&lt;&lt;&lt; Now you can turn html source code into image with ease by calling these 2 functions &gt;&gt;&gt;}</span>
<span style="color: #000000; font-weight: bold;">function</span> SnapshotHtml<span style="color: #000066;">&#40;</span><span style="color: #000000; font-weight: bold;">const</span> AHtml<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WideString</span><span style="color: #000066;">&#41;</span> <span style="color: #000066;">:</span> SnapshotResult<span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">safecall</span><span style="color: #000066;">;</span>
<span style="color: #000000; font-weight: bold;">function</span> SnapshotHtmlAs<span style="color: #000066;">&#40;</span><span style="color: #000000; font-weight: bold;">const</span> AHtml<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WideString</span><span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">const</span> AOutput<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WideString</span><span style="color: #000066;">&#41;</span><span style="color: #000066;">:</span> SnapshotResult<span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">safecall</span><span style="color: #000066;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">{&lt;&lt;&lt; Call &quot;Stop&quot; to interrupt during snapshooting&gt;&gt;&gt;}</span>
<span style="color: #000000; font-weight: bold;">procedure</span> Stop<span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">safecall</span><span style="color: #000066;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">{&lt;&lt;&lt; Call this to get detailed error message if error occurs &gt;&gt;&gt;}</span>
<span style="color: #000000; font-weight: bold;">function</span> <span style="color: #000066;">GetLastError</span><span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WideString</span><span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">safecall</span><span style="color: #000066;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">{&lt;&lt;&lt; Create a thumbnail image in memory &gt;&gt;&gt;}</span>
<span style="color: #000000; font-weight: bold;">function</span> MakeThumbnail<span style="color: #000066;">:</span> SnapshotResult<span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">safecall</span><span style="color: #000066;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">{&lt;&lt;&lt; It calls &quot;MakeThumbnail&quot; first and save the image to disk &gt;&gt;&gt;}</span>
<span style="color: #000000; font-weight: bold;">function</span> SaveThumbnail<span style="color: #000066;">:</span> SnapshotResult<span style="color: #000066;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">{&lt;&lt;&lt; For this one, you can specify the output filename &gt;&gt;&gt;}</span>
<span style="color: #000000; font-weight: bold;">function</span> SaveThumbnailAs<span style="color: #000066;">&#40;</span><span style="color: #000000; font-weight: bold;">const</span> AFileName<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WideString</span><span style="color: #000066;">&#41;</span><span style="color: #000066;">:</span> SnapshotResult<span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">safecall</span><span style="color: #000066;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">{&lt;&lt;&lt; Get the HBITMAP handle of the snapshot image in memory &gt;&gt;&gt;}</span>
<span style="color: #000000; font-weight: bold;">function</span> GetSnapshotHandle<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">Integer</span><span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">safecall</span><span style="color: #000066;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">{&lt;&lt;&lt; Get the HBITMAP handle of the thumbnail image in memory &gt;&gt;&gt;}</span>
<span style="color: #000000; font-weight: bold;">function</span> GetThumbnailHandle<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">Integer</span><span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">safecall</span><span style="color: #000066;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">{&lt;&lt;&lt; Htm2PicX has a built-in image list from which you can create multi-page TIFF/PDF/DCX documents. &gt;&gt;&gt;}</span>
<span style="color: #808080; font-style: italic;">// Add current thumbnail to the image list</span>
<span style="color: #000000; font-weight: bold;">procedure</span> AddThumbnailToList<span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">safecall</span><span style="color: #000066;">;</span>
<span style="color: #808080; font-style: italic;">// Add current snapshot to the image list</span>
<span style="color: #000000; font-weight: bold;">procedure</span> AddSnapshotToList<span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">safecall</span><span style="color: #000066;">;</span>
<span style="color: #808080; font-style: italic;">// Clear the image list</span>
<span style="color: #000000; font-weight: bold;">procedure</span> ClearImageList<span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">safecall</span><span style="color: #000066;">;</span>
<span style="color: #808080; font-style: italic;">// Load a local image into the image list</span>
<span style="color: #000000; font-weight: bold;">procedure</span> AddImageToList<span style="color: #000066;">&#40;</span><span style="color: #000000; font-weight: bold;">const</span> AFileName<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WideString</span><span style="color: #000066;">&#41;</span><span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">safecall</span><span style="color: #000066;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">// Create multi-page TIFF document</span>
<span style="color: #000000; font-weight: bold;">procedure</span> MakeMultiPageTiffAs<span style="color: #000066;">&#40;</span><span style="color: #000000; font-weight: bold;">const</span> AFileName<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WideString</span><span style="color: #000066;">&#41;</span><span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">safecall</span><span style="color: #000066;">;</span>
<span style="color: #808080; font-style: italic;">// Create multi-page PDF document</span>
<span style="color: #000000; font-weight: bold;">procedure</span> MakeMultiPagePdfAs<span style="color: #000066;">&#40;</span><span style="color: #000000; font-weight: bold;">const</span> AFileName<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WideString</span><span style="color: #000066;">&#41;</span><span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">safecall</span><span style="color: #000066;">;</span>
<span style="color: #808080; font-style: italic;">// Create multi-page DCX document</span>
<span style="color: #000000; font-weight: bold;">procedure</span> MakeMultiPageDcxAs<span style="color: #000066;">&#40;</span><span style="color: #000000; font-weight: bold;">const</span> AFileName<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WideString</span><span style="color: #000066;">&#41;</span><span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">safecall</span><span style="color: #000066;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">////////////////////////////////////////</span>
<span style="color: #808080; font-style: italic;">///   thumbnail effect functions   ///</span>
<span style="color: #808080; font-style: italic;">////////////////////////////////////////</span>
&nbsp;
<span style="color: #808080; font-style: italic;">{&lt;&lt;&lt; The color param can be RGB Color HEX string with leading '#' (eg: #c0c0c0) or Common Color Name (black,red,blue,yellow,white,Maroon,Green,Olive,Navy,Purple,
Teal,Gray,Silver,Lime,Fuchsia,Aqua,LtGray,DkGray) &gt;&gt;&gt;}</span>
<span style="color: #808080; font-style: italic;">// BorderWeight(0-255)</span>
<span style="color: #000000; font-weight: bold;">procedure</span> SetThumbEffectButtonize<span style="color: #000066;">&#40;</span><span style="color: #000000; font-weight: bold;">const</span> BorderColor<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WideString</span><span style="color: #000066;">;</span> BorderWidth<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">Integer</span><span style="color: #000066;">;</span>  BorderWeight<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">Integer</span><span style="color: #000066;">&#41;</span><span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">safecall</span><span style="color: #000066;">;</span>
<span style="color: #808080; font-style: italic;">// Head to &quot;Enumerations&quot; section to check out &quot;ShadowType&quot;</span>
<span style="color: #000000; font-weight: bold;">procedure</span> SetThumbEffectDropShadow<span style="color: #000066;">&#40;</span>Value<span style="color: #000066;">:</span> ShadowType<span style="color: #000066;">&#41;</span><span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">safecall</span><span style="color: #000066;">;</span>
<span style="color: #808080; font-style: italic;">// Alpha(0-255) Htm2PicX applies a linear transform from one alpha value to another to the reflection area</span>
<span style="color: #000000; font-weight: bold;">procedure</span> SetThumbEffectReflection<span style="color: #000066;">&#40;</span>APercent<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">Integer</span><span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">const</span> ABgColor<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WideString</span><span style="color: #000066;">;</span> AAlphaA<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">Integer</span><span style="color: #000066;">;</span> AAlphaB<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">Integer</span><span style="color: #000066;">&#41;</span><span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">safecall</span><span style="color: #000066;">;</span>
<span style="color: #000000; font-weight: bold;">procedure</span> SetThumbEffectRoundCorner<span style="color: #000066;">&#40;</span><span style="color: #000000; font-weight: bold;">const</span> ABgColor<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WideString</span><span style="color: #000066;">;</span> ARadius<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">Integer</span><span style="color: #000066;">&#41;</span><span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">safecall</span><span style="color: #000066;">;</span>
<span style="color: #808080; font-style: italic;">// &quot;ARWidth&quot; and &quot;ARHeight&quot; determines the final size of output image, Htm2PicX would automatically determine if you set them to zero.</span>
<span style="color: #000000; font-weight: bold;">procedure</span> SetThumbEffectRotate<span style="color: #000066;">&#40;</span>ARWidth<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">Integer</span><span style="color: #000066;">;</span> ARHeight<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">Integer</span><span style="color: #000066;">;</span> AAngle<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">Double</span><span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">const</span> ABgColor<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WideString</span><span style="color: #000066;">&#41;</span><span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">safecall</span><span style="color: #000066;">;</span>
<span style="color: #808080; font-style: italic;">// &quot;ALenA&quot; and &quot;ALenB&quot; would also be automacally determined if set to zero.</span>
<span style="color: #000000; font-weight: bold;">procedure</span> SetThumbEffectTilt3D<span style="color: #000066;">&#40;</span>ATiltType<span style="color: #000066;">:</span> Tilt3DType<span style="color: #000066;">;</span> ALenA<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">Integer</span><span style="color: #000066;">;</span> ALenB<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">Integer</span><span style="color: #000066;">;</span> ATiltAngle<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">Double</span><span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">const</span> ABgColor<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WideString</span><span style="color: #000066;">&#41;</span><span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">safecall</span><span style="color: #000066;">;</span>
<span style="color: #808080; font-style: italic;">// Cancel any effect setting</span>
<span style="color: #000000; font-weight: bold;">procedure</span> SetThumbEffectNone<span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">safecall</span><span style="color: #000066;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">{&lt;&lt;&lt; This is a util function as it can convert images from one format to another among the supported ones.
For &quot;OutFormat&quot; param, refer to &quot;Enumerations&quot; section &gt;&gt;&gt;}</span>
<span style="color: #808080; font-style: italic;">// Htm2Pix currrently supports BMP, PNG, GIF, JPG, PCX, DCX, TGA, EMF, WMF, TIF, PDF</span>
<span style="color: #000000; font-weight: bold;">procedure</span> ConvertImage<span style="color: #000066;">&#40;</span><span style="color: #000000; font-weight: bold;">const</span> InFile<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WideString</span><span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">const</span> OutFile<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WideString</span><span style="color: #000066;">;</span> OutFormat<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">Integer</span><span style="color: #000066;">&#41;</span><span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">safecall</span><span style="color: #000066;">;</span></pre></div></div>

<h4>Events</h4>
<p><a name="events" title="events"></a></p>

<div class="wp_syntax"><div class="code"><pre class="delphi"><span style="color: #000000; font-weight: bold;">procedure</span> OnStatusText<span style="color: #000066;">&#40;</span><span style="color: #000000; font-weight: bold;">const</span> AText<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WideString</span><span style="color: #000066;">&#41;</span><span style="color: #000066;">;</span> 
<span style="color: #808080; font-style: italic;">// Currently &quot;AErrCode&quot; is reserved, all errors has an error code of zero</span>
<span style="color: #000000; font-weight: bold;">procedure</span> OnError<span style="color: #000066;">&#40;</span>AErrCode<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">Integer</span><span style="color: #000066;">;</span> <span style="color: #000000; font-weight: bold;">const</span> AErrMsg<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">WideString</span><span style="color: #000066;">&#41;</span><span style="color: #000066;">;</span>
<span style="color: #808080; font-style: italic;">// &quot;ACode&quot; is one of the values defined in enumeration type : SnapshotResult</span>
<span style="color: #000000; font-weight: bold;">procedure</span> OnComplete<span style="color: #000066;">&#40;</span>ACode<span style="color: #000066;">:</span> <span style="color: #000066; font-weight: bold;">Integer</span><span style="color: #000066;">&#41;</span><span style="color: #000066;">;</span></pre></div></div>

<h4>Enumerations</h4>
<p><a name="enumerations" title="enumerations"></a></p>

<div class="wp_syntax"><div class="code"><pre class="delphi"><span style="color: #808080; font-style: italic;">// Constants for enum SnapshotResult</span>
<span style="color: #000000; font-weight: bold;">type</span>
  SnapshotResult <span style="color: #000066;">=</span> TOleEnum<span style="color: #000066;">;</span>
<span style="color: #000000; font-weight: bold;">const</span>
  HTM2PIC_SUCCESS <span style="color: #000066;">=</span> <span style="color: #9ac;">$<span style="color: #0000ff;">00000000</span></span><span style="color: #000066;">;</span>
  HTM2PIC_FAILURE <span style="color: #000066;">=</span> <span style="color: #9ac;">$<span style="color: #0000ff;">00000001</span></span><span style="color: #000066;">;</span>
  HTM2PIC_TIMEOUT <span style="color: #000066;">=</span> <span style="color: #9ac;">$<span style="color: #0000ff;">00000002</span></span><span style="color: #000066;">;</span>
  HTM2PIC_EXCEPTION <span style="color: #000066;">=</span> <span style="color: #9ac;">$<span style="color: #0000ff;">00000003</span></span><span style="color: #000066;">;</span>
  HTM2PIC_INTERRUPT <span style="color: #000066;">=</span> <span style="color: #9ac;">$<span style="color: #0000ff;">00000004</span></span><span style="color: #000066;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">// Constants for enum ResizeType</span>
<span style="color: #000000; font-weight: bold;">type</span>
  ResizeType <span style="color: #000066;">=</span> TOleEnum<span style="color: #000066;">;</span>
<span style="color: #000000; font-weight: bold;">const</span>
  RT_ZOOM <span style="color: #000066;">=</span> <span style="color: #9ac;">$<span style="color: #0000ff;">00000000</span></span><span style="color: #000066;">;</span>
  RT_RECT <span style="color: #000066;">=</span> <span style="color: #9ac;">$<span style="color: #0000ff;">00000001</span></span><span style="color: #000066;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">// Constants for enum ShadowType</span>
<span style="color: #000000; font-weight: bold;">type</span>
  ShadowType <span style="color: #000066;">=</span> TOleEnum<span style="color: #000066;">;</span>
<span style="color: #000000; font-weight: bold;">const</span>
  ST_RIGHT_TOP <span style="color: #000066;">=</span> <span style="color: #9ac;">$<span style="color: #0000ff;">00000000</span></span><span style="color: #000066;">;</span>
  ST_RIGHT_BOTTOM <span style="color: #000066;">=</span> <span style="color: #9ac;">$<span style="color: #0000ff;">00000001</span></span><span style="color: #000066;">;</span>
  ST_LEFT_TOP <span style="color: #000066;">=</span> <span style="color: #9ac;">$<span style="color: #0000ff;">00000002</span></span><span style="color: #000066;">;</span>
  ST_LEFT_BOTTOM <span style="color: #000066;">=</span> <span style="color: #9ac;">$<span style="color: #0000ff;">00000003</span></span><span style="color: #000066;">;</span>
  ST_RECT <span style="color: #000066;">=</span> <span style="color: #9ac;">$<span style="color: #0000ff;">00000004</span></span><span style="color: #000066;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">// Constants for enum EffectType</span>
<span style="color: #000000; font-weight: bold;">type</span>
  EffectType <span style="color: #000066;">=</span> TOleEnum<span style="color: #000066;">;</span>
<span style="color: #000000; font-weight: bold;">const</span>
  ET_BUTTONIZE <span style="color: #000066;">=</span> <span style="color: #9ac;">$<span style="color: #0000ff;">00000000</span></span><span style="color: #000066;">;</span>
  ET_DROP_SHADOW <span style="color: #000066;">=</span> <span style="color: #9ac;">$<span style="color: #0000ff;">00000001</span></span><span style="color: #000066;">;</span>
  ET_REFLECTION <span style="color: #000066;">=</span> <span style="color: #9ac;">$<span style="color: #0000ff;">00000002</span></span><span style="color: #000066;">;</span>
  ET_ROUND_CORNER <span style="color: #000066;">=</span> <span style="color: #9ac;">$<span style="color: #0000ff;">00000003</span></span><span style="color: #000066;">;</span>
  ET_ROTATE <span style="color: #000066;">=</span> <span style="color: #9ac;">$<span style="color: #0000ff;">00000004</span></span><span style="color: #000066;">;</span>
  ET_TILT_3D <span style="color: #000066;">=</span> <span style="color: #9ac;">$<span style="color: #0000ff;">00000005</span></span><span style="color: #000066;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">// Constants for enum Tilt3DType</span>
<span style="color: #000000; font-weight: bold;">type</span>
  Tilt3DType <span style="color: #000066;">=</span> TOleEnum<span style="color: #000066;">;</span>
<span style="color: #000000; font-weight: bold;">const</span>
  TT_VERT <span style="color: #000066;">=</span> <span style="color: #9ac;">$<span style="color: #0000ff;">00000000</span></span><span style="color: #000066;">;</span>
  TT_HORI <span style="color: #000066;">=</span> <span style="color: #9ac;">$<span style="color: #0000ff;">00000001</span></span><span style="color: #000066;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">// Constants for enum ImageFormat</span>
<span style="color: #000000; font-weight: bold;">type</span>
  ImageFormat <span style="color: #000066;">=</span> TOleEnum<span style="color: #000066;">;</span>
<span style="color: #000000; font-weight: bold;">const</span>
  IF_JPG <span style="color: #000066;">=</span> <span style="color: #9ac;">$<span style="color: #0000ff;">00000000</span></span><span style="color: #000066;">;</span>
  IF_GIF <span style="color: #000066;">=</span> <span style="color: #9ac;">$<span style="color: #0000ff;">00000001</span></span><span style="color: #000066;">;</span>
  IF_BMP <span style="color: #000066;">=</span> <span style="color: #9ac;">$<span style="color: #0000ff;">00000002</span></span><span style="color: #000066;">;</span>
  IF_PNG <span style="color: #000066;">=</span> <span style="color: #9ac;">$<span style="color: #0000ff;">00000003</span></span><span style="color: #000066;">;</span>
  IF_TIF <span style="color: #000066;">=</span> <span style="color: #9ac;">$<span style="color: #0000ff;">00000004</span></span><span style="color: #000066;">;</span>
  IF_PCX <span style="color: #000066;">=</span> <span style="color: #9ac;">$<span style="color: #0000ff;">00000005</span></span><span style="color: #000066;">;</span>
  IF_DCX <span style="color: #000066;">=</span> <span style="color: #9ac;">$<span style="color: #0000ff;">00000006</span></span><span style="color: #000066;">;</span>
  IF_TGA <span style="color: #000066;">=</span> <span style="color: #9ac;">$<span style="color: #0000ff;">00000007</span></span><span style="color: #000066;">;</span>
  IF_WMF <span style="color: #000066;">=</span> <span style="color: #9ac;">$<span style="color: #0000ff;">00000008</span></span><span style="color: #000066;">;</span>
  IF_EMF <span style="color: #000066;">=</span> <span style="color: #9ac;">$<span style="color: #0000ff;">00000009</span></span><span style="color: #000066;">;</span>
  IF_PDF <span style="color: #000066;">=</span> <span style="color: #9ac;">$0000000A</span><span style="color: #000066;">;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.htm2pic.com/2008/08/14/htm2pic-activex-control-api-manual/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Htm2Pic CmdLine Tool Integration Code Snippets</title>
		<link>http://www.htm2pic.com/2008/08/11/htm2pic-cmdline-tool-integration-code-snippet-samples/</link>
		<comments>http://www.htm2pic.com/2008/08/11/htm2pic-cmdline-tool-integration-code-snippet-samples/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 03:28:20 +0000</pubDate>
		<dc:creator>flying99koo</dc:creator>
		
		<category><![CDATA[Htm2Pic]]></category>

		<category><![CDATA[Online Help]]></category>

		<guid isPermaLink="false">http://www.htm2pic.com/2008/08/11/htm2pic-cmdline-tool-integration-code-snippet-samples/</guid>
		<description><![CDATA[VB

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Private Declare Function OpenProcess Lib &#34;kernel32&#34; &#40;ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long&#41; As Long
Private Declare Function GetExitCodeProcess Lib &#34;kernel32&#34; &#40;ByVal hProcess As Long, lpExitCode As Long&#41; As Long
Private Declare Function CloseHandle Lib &#34;kernel32&#34; &#40;ByVal hObject As Long&#41; As Long
&#160;
Const PROCESS_QUERY_INFORMATION = &#38;H400
Const STILL_ALIVE = &#38;H103
&#160;
Private Sub Command1_Click&#40;&#41;
	Dim pid As [...]]]></description>
			<content:encoded><![CDATA[<p><H2>VB</H2></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
</pre></td><td class="code"><pre class="vb"><span style="color: #b1b100;">Private</span> <span style="color: #b1b100;">Declare</span> <span style="color: #b1b100;">Function</span> OpenProcess Lib <span style="color: #ff0000;">&quot;kernel32&quot;</span> <span style="color: #66cc66;">&#40;</span>ByVal dwDesiredAccess <span style="color: #b1b100;">As</span> <span style="color: #b1b100;">Long</span>, ByVal bInheritHandle <span style="color: #b1b100;">As</span> <span style="color: #b1b100;">Long</span>, ByVal dwProcessId <span style="color: #b1b100;">As</span> <span style="color: #b1b100;">Long</span><span style="color: #66cc66;">&#41;</span> <span style="color: #b1b100;">As</span> <span style="color: #b1b100;">Long</span>
<span style="color: #b1b100;">Private</span> <span style="color: #b1b100;">Declare</span> <span style="color: #b1b100;">Function</span> GetExitCodeProcess Lib <span style="color: #ff0000;">&quot;kernel32&quot;</span> <span style="color: #66cc66;">&#40;</span>ByVal hProcess <span style="color: #b1b100;">As</span> <span style="color: #b1b100;">Long</span>, lpExitCode <span style="color: #b1b100;">As</span> <span style="color: #b1b100;">Long</span><span style="color: #66cc66;">&#41;</span> <span style="color: #b1b100;">As</span> <span style="color: #b1b100;">Long</span>
<span style="color: #b1b100;">Private</span> <span style="color: #b1b100;">Declare</span> <span style="color: #b1b100;">Function</span> CloseHandle Lib <span style="color: #ff0000;">&quot;kernel32&quot;</span> <span style="color: #66cc66;">&#40;</span>ByVal hObject <span style="color: #b1b100;">As</span> <span style="color: #b1b100;">Long</span><span style="color: #66cc66;">&#41;</span> <span style="color: #b1b100;">As</span> <span style="color: #b1b100;">Long</span>
&nbsp;
<span style="color: #b1b100;">Const</span> PROCESS_QUERY_INFORMATION = &amp;H400
<span style="color: #b1b100;">Const</span> STILL_ALIVE = &amp;H103
&nbsp;
<span style="color: #b1b100;">Private</span> <span style="color: #b1b100;">Sub</span> Command1_Click<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
	<span style="color: #b1b100;">Dim</span> pid <span style="color: #b1b100;">As</span> <span style="color: #b1b100;">Long</span>
	<span style="color: #808080;">'change to vbHide to disable prompt window</span>
	pid = <span style="color: #b1b100;">Shell</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;c:\Htm2PicCmdLine.exe /url http://www.google.com&quot;</span>, vbNormalFocus<span style="color: #66cc66;">&#41;</span>	
	hProcess = OpenProcess<span style="color: #66cc66;">&#40;</span>PROCESS_QUERY_INFORMATION, <span style="color: #cc66cc;">0</span>, pid<span style="color: #66cc66;">&#41;</span>
	<span style="color: #b1b100;">Do</span>
		<span style="color: #b1b100;">Call</span> GetExitCodeProcess<span style="color: #66cc66;">&#40;</span>hProcess, ExitCode<span style="color: #66cc66;">&#41;</span>
		<span style="color: #b1b100;">DoEvents</span>
	<span style="color: #b1b100;">Loop</span> <span style="color: #b1b100;">While</span> ExitCode = STILL_ALIVE
	<span style="color: #b1b100;">Call</span> CloseHandle<span style="color: #66cc66;">&#40;</span>hProcess<span style="color: #66cc66;">&#41;</span>
	<span style="color: #b1b100;">MsgBox</span> <span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;done&quot;</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #b1b100;">End</span> <span style="color: #b1b100;">Sub</span></pre></td></tr></table></div>

<p><H2>VC</H2></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code"><pre class="c">SHELLEXECUTEINFO ShExecInfo <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#125;</span>;
ShExecInfo.<span style="color: #202020;">cbSize</span> <span style="color: #339933;">=</span> <span style="color: #993333;">sizeof</span><span style="color: #009900;">&#40;</span>SHELLEXECUTEINFO<span style="color: #009900;">&#41;</span>;
ShExecInfo.<span style="color: #202020;">fMask</span> <span style="color: #339933;">=</span> SEE_MASK_NOCLOSEPROCESS;
ShExecInfo.<span style="color: #202020;">hwnd</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">NULL</span>;
ShExecInfo.<span style="color: #202020;">lpVerb</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">NULL</span>;
ShExecInfo.<span style="color: #202020;">lpFile</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;c:<span style="color: #000099; font-weight: bold;">\\</span>Htm2PicCmdLine.exe&quot;</span>; 
ShExecInfo.<span style="color: #202020;">lpParameters</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;/url http://www.google.com&quot;</span>; 
ShExecInfo.<span style="color: #202020;">lpDirectory</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">NULL</span>;
ShExecInfo.<span style="color: #202020;">nShow</span> <span style="color: #339933;">=</span> SW_SHOW;
ShExecInfo.<span style="color: #202020;">hInstApp</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">NULL</span>; 
ShellExecuteEx<span style="color: #009900;">&#40;</span><span style="color: #339933;">&amp;</span>ShExecInfo<span style="color: #009900;">&#41;</span>;
WaitForSingleObject<span style="color: #009900;">&#40;</span>ShExecInfo.<span style="color: #202020;">hProcess</span>,INFINITE<span style="color: #009900;">&#41;</span>;</pre></td></tr></table></div>

<p><H2>Delphi</H2></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
</pre></td><td class="code"><pre class="delphi"><span style="color: #000000; font-weight: bold;">var</span> 
  SEI<span style="color: #000066;">:</span> SHELLEXECUTEINFO<span style="color: #000066;">;</span>
<span style="color: #000000; font-weight: bold;">begin</span>
  <span style="color: #000000; font-weight: bold;">with</span> SEI <span style="color: #000000; font-weight: bold;">do</span>
  <span style="color: #000000; font-weight: bold;">begin</span>
    cbSize <span style="color: #000066;">:</span><span style="color: #000066;">=</span> <span style="color: #000066;">SizeOf</span><span style="color: #000066;">&#40;</span>SEI<span style="color: #000066;">&#41;</span><span style="color: #000066;">;</span>
    fMask <span style="color: #000066;">:</span><span style="color: #000066;">=</span> SEE_MASK_NOCLOSEPROCESS<span style="color: #000066;">;</span>
    Wnd <span style="color: #000066;">:</span><span style="color: #000066;">=</span> Application<span style="color: #000066;">.</span><span style="color: #006600;">Handle</span><span style="color: #000066;">;</span>
    lpVerb <span style="color: #000066;">:</span><span style="color: #000066;">=</span> <span style="color: #000000; font-weight: bold;">nil</span><span style="color: #000066;">;</span>
    lpFile <span style="color: #000066;">:</span><span style="color: #000066;">=</span> <span style="color: #ff0000;">'C:\Htm2PicCmdLine.exe'</span><span style="color: #000066;">;</span>
    lpParameters <span style="color: #000066;">:</span><span style="color: #000066;">=</span> <span style="color: #ff0000;">'/url http://www.google.com'</span><span style="color: #000066;">;</span>
    lpDirectory <span style="color: #000066;">:</span><span style="color: #000066;">=</span> <span style="color: #000000; font-weight: bold;">nil</span><span style="color: #000066;">;</span>
    nShow <span style="color: #000066;">:</span><span style="color: #000066;">=</span> SW_SHOW<span style="color: #000066;">;</span>
    hInstApp <span style="color: #000066;">:</span><span style="color: #000066;">=</span> <span style="color: #0000ff;">0</span><span style="color: #000066;">;</span>
    lpIDList <span style="color: #000066;">:</span><span style="color: #000066;">=</span> <span style="color: #000000; font-weight: bold;">nil</span><span style="color: #000066;">;</span>
  <span style="color: #000000; font-weight: bold;">end</span><span style="color: #000066;">;</span>
  ShellExecuteEx<span style="color: #000066;">&#40;</span><span style="color: #000066;">@</span>SEI<span style="color: #000066;">&#41;</span><span style="color: #000066;">;</span>
  WaitForSingleObject<span style="color: #000066;">&#40;</span>SEI<span style="color: #000066;">.</span><span style="color: #006600;">hProcess</span><span style="color: #000066;">,</span> INFINITE<span style="color: #000066;">&#41;</span><span style="color: #000066;">;</span>
<span style="color: #000000; font-weight: bold;">end</span><span style="color: #000066;">;</span></pre></td></tr></table></div>

<p><H2>C#</H2></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
</pre></td><td class="code"><pre class="csharp"><span style="color: #0600FF;">using</span> <span style="color: #008080;">System.Runtime.InteropServices</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #0600FF;">public</span> <span style="color: #FF0000;">struct</span> ShellExecuteInfo
<span style="color: #000000;">&#123;</span>
    <span style="color: #0600FF;">public</span> <span style="color: #FF0000;">int</span> cbSize<span style="color: #008000;">;</span>
    <span style="color: #0600FF;">public</span> <span style="color: #FF0000;">uint</span> fMask<span style="color: #008000;">;</span>
    <span style="color: #0600FF;">public</span> IntPtr hwnd<span style="color: #008000;">;</span>
    <span style="color: #0600FF;">public</span> <span style="color: #FF0000;">string</span> lpVerb<span style="color: #008000;">;</span>
    <span style="color: #0600FF;">public</span> <span style="color: #FF0000;">string</span> lpFile<span style="color: #008000;">;</span>
    <span style="color: #0600FF;">public</span> <span style="color: #FF0000;">string</span> lpParameters<span style="color: #008000;">;</span>
    <span style="color: #0600FF;">public</span> <span style="color: #FF0000;">string</span> lpDirectory<span style="color: #008000;">;</span>
    <span style="color: #0600FF;">public</span> <span style="color: #FF0000;">int</span> nShow<span style="color: #008000;">;</span>
    <span style="color: #0600FF;">public</span> IntPtr hInstApp<span style="color: #008000;">;</span>
    <span style="color: #0600FF;">public</span> <span style="color: #FF0000;">int</span> lpIDList<span style="color: #008000;">;</span>
    <span style="color: #0600FF;">public</span> <span style="color: #FF0000;">string</span> lpClass<span style="color: #008000;">;</span>
    <span style="color: #0600FF;">public</span> IntPtr hkeyClass<span style="color: #008000;">;</span>
    <span style="color: #0600FF;">public</span> <span style="color: #FF0000;">uint</span> dwHotKey<span style="color: #008000;">;</span>
    <span style="color: #0600FF;">public</span> IntPtr hIcon<span style="color: #008000;">;</span>
    <span style="color: #0600FF;">public</span> IntPtr hProcess<span style="color: #008000;">;</span>
<span style="color: #000000;">&#125;</span>
&nbsp;
<span style="color: #0600FF;">public</span> <span style="color: #0600FF;">const</span> <span style="color: #FF0000;">int</span> SW_SHOW <span style="color: #008000;">=</span> <span style="color: #FF0000;">5</span><span style="color: #008000;">;</span>
<span style="color: #0600FF;">public</span> <span style="color: #0600FF;">const</span> <span style="color: #FF0000;">uint</span> SEE_MASK_NOCLOSEPROCESS <span style="color: #008000;">=</span> <span style="color: #FF0000;">64</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #000000;">&#91;</span>DllImport<span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;shell32.dll&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#93;</span>
<span style="color: #0600FF;">public</span> <span style="color: #0600FF;">static</span> <span style="color: #0600FF;">extern</span> <span style="color: #FF0000;">bool</span> ShellExecuteEx<span style="color: #000000;">&#40;</span><span style="color: #0600FF;">ref</span> ShellExecuteInfo lpExecInfo<span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #000000;">&#91;</span>DllImport<span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;Kernel32.dll&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#93;</span>
<span style="color: #0600FF;">public</span> <span style="color: #0600FF;">static</span> <span style="color: #0600FF;">extern</span> <span style="color: #FF0000;">uint</span> WaitForSingleObject<span style="color: #000000;">&#40;</span><span style="color: #000000;">System</span>.<span style="color: #0000FF;">IntPtr</span> hHandle, <span style="color: #FF0000;">uint</span> dwMilliseconds<span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #000000;">&#91;</span>DllImport<span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;Kernel32.dll&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#93;</span>
<span style="color: #0600FF;">public</span> <span style="color: #0600FF;">static</span> <span style="color: #0600FF;">extern</span> <span style="color: #FF0000;">bool</span> GetExitCodeProcess<span style="color: #000000;">&#40;</span><span style="color: #000000;">System</span>.<span style="color: #0000FF;">IntPtr</span> hProcess, <span style="color: #0600FF;">ref</span> <span style="color: #FF0000;">uint</span> lpExitCode<span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #0600FF;">private</span> <span style="color: #0600FF;">void</span> button1_Click<span style="color: #000000;">&#40;</span><span style="color: #FF0000;">object</span> sender, EventArgs e<span style="color: #000000;">&#41;</span> it55.<span style="color: #0000FF;">com</span> 
<span style="color: #000000;">&#123;</span>
    ShellExecuteInfo vShellExecuteInfo <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> ShellExecuteInfo<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
    vShellExecuteInfo.<span style="color: #0000FF;">cbSize</span> <span style="color: #008000;">=</span> Marshal.<span style="color: #008000;">SizeOf</span><span style="color: #000000;">&#40;</span>vShellExecuteInfo<span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
    vShellExecuteInfo.<span style="color: #0000FF;">lpFile</span> <span style="color: #008000;">=</span> <span style="color: #666666;">@&quot;C:\Htm2PicCmdLine.exe&quot;</span><span style="color: #008000;">;</span>
    vShellExecuteInfo.<span style="color: #0000FF;">lpParameters</span> <span style="color: #008000;">=</span> <span style="color: #666666;">@&quot;/url http://www.google.com&quot;</span><span style="color: #008000;">;</span>
    vShellExecuteInfo.<span style="color: #0000FF;">nShow</span> <span style="color: #008000;">=</span> SW_SHOW<span style="color: #008000;">;</span>
    vShellExecuteInfo.<span style="color: #0000FF;">fMask</span> <span style="color: #008000;">=</span> SEE_MASK_NOCLOSEPROCESS<span style="color: #008000;">;</span>
    ShellExecuteEx<span style="color: #000000;">&#40;</span><span style="color: #0600FF;">ref</span> vShellExecuteInfo<span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
    WaitForSingleObject<span style="color: #000000;">&#40;</span>vShellExecuteInfo.<span style="color: #0000FF;">hProcess</span>, <span style="color: #FF0000;">int</span>.<span style="color: #0000FF;">MaxValue</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
    GetExitCodeProcess<span style="color: #000000;">&#40;</span>vShellExecuteInfo.<span style="color: #0000FF;">hProcess</span>, <span style="color: #0600FF;">ref</span> i<span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p><H2>Java</H2></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="java"><span style="color: #000000; font-weight: bold;">try</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #003399;">Runtime</span> rt <span style="color: #339933;">=</span> <span style="color: #003399;">Runtime</span>.<span style="color: #006633;">getRuntime</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #003399;">Process</span> proc <span style="color: #339933;">=</span> rt
			.<span style="color: #006633;">exec</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;C:<span style="color: #000099; font-weight: bold;">\\</span>Htm2PicCmdLine.exe /url http://www.google.com&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">int</span> exitVal <span style="color: #339933;">=</span> proc.<span style="color: #006633;">waitFor</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">catch</span> <span style="color: #009900;">&#40;</span><span style="color: #003399;">Throwable</span> t<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	t.<span style="color: #006633;">printStackTrace</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<h4>use the system&#8217;s built-in &#8220;wscript.shell&#8221; activex component to run any program.</h4>
<p><H2>VB Script</H2></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="vb"><span style="color: #b1b100;">set</span> ws=wscript.<span style="color: #b1b100;">createobject</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;wscript.shell&quot;</span><span style="color: #66cc66;">&#41;</span>
ws.<span style="color: #66cc66;">run</span> <span style="color: #ff0000;">&quot;c:\htm2piccmdline.exe /url http://www.google.com&quot;</span>, <span style="color: #cc66cc;">0</span>, <span style="color: #b1b100;">true</span> 
ws.<span style="color: #66cc66;">popup</span> <span style="color: #ff0000;">&quot;done&quot;</span>
<span style="color: #b1b100;">set</span> ws=<span style="color: #b1b100;">nothing</span></pre></td></tr></table></div>

<p><H2>Java Script</H2></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="javascript"><span style="color: #003366; font-weight: bold;">var</span> ws <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> ActiveXObject<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;wscript.shell&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
ws.<span style="color: #006600;">run</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;c:<span style="color: #000099; font-weight: bold;">\\</span>htm2piccmdline.exe /url http://www.google.com&quot;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;done!&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p><H2>PHP</H2></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="php"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
	<span style="color: #000033;">$ws</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> COM<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;wscript.shell&quot;</span><span style="color: #009900;">&#41;</span> or <span style="color: #990000;">die</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Can't start wscript.shell!&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000033;">$ws</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">run</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;c:<span style="color: #000099; font-weight: bold;">\h</span>tm2piccmdline.exe /url http://www.google.com&quot;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #000000; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #990000;">echo</span> <span style="color: #0000ff;">&quot;done!&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.htm2pic.com/2008/08/11/htm2pic-cmdline-tool-integration-code-snippet-samples/feed/</wfw:commentRss>
		</item>
		<item>
		<title>What&#8217;s new in Htm2Pic v1.4.3</title>
		<link>http://www.htm2pic.com/2008/07/21/whats-new-in-htm2pic-v143/</link>
		<comments>http://www.htm2pic.com/2008/07/21/whats-new-in-htm2pic-v143/#comments</comments>
		<pubDate>Mon, 21 Jul 2008 09:22:05 +0000</pubDate>
		<dc:creator>flying99koo</dc:creator>
		
		<category><![CDATA[Htm2Pic]]></category>

		<category><![CDATA[News]]></category>

		<category><![CDATA[take snapshots of webpages]]></category>

		<category><![CDATA[webthumb]]></category>

		<category><![CDATA[webtojpeg]]></category>

		<guid isPermaLink="false">http://www.htm2pic.com/2008/07/21/whats-new-in-htm2pic-v143/</guid>
		<description><![CDATA[Hello, buddy.
Htm2Pic just had a new release, please re-download the install file on our site.
The most important improvement in version 1.4.3 is the &#8220;download control&#8221; option. Switch to &#8220;Snapshot Options&#8221;->&#8221;Basic&#8221; subpage and have a look. You can now decide what not to download while taking snapshots of webpages.

By default, &#8220;Disable Script&#8221; is checked, this will [...]]]></description>
			<content:encoded><![CDATA[<p>Hello, buddy.</p>
<p>Htm2Pic just had a new release, please re-download the install file on our site.</p>
<p>The most important improvement in version 1.4.3 is the &#8220;download control&#8221; option. Switch to &#8220;Snapshot Options&#8221;->&#8221;Basic&#8221; subpage and have a look. You can now decide what not to download while taking snapshots of webpages.</p>
<p><img src='http://www.htm2pic.com/wp-content/uploads/2008/07/image00000.jpg' alt='image00000.jpg' /></p>
<p>By default, &#8220;Disable Script&#8221; is checked, this will avoid the brower downloading any client-side scripts and running them. We all know that some scripts may be annoying and even dangerous.</p>
<p>I also improved the core a lot since version 1.4.2.  Now you don&#8217;t have to worry about the popups, Htm2Pic will block them all.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.htm2pic.com/2008/07/21/whats-new-in-htm2pic-v143/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Htm2Pic Command Line Tool Detailed Usage</title>
		<link>http://www.htm2pic.com/2008/07/07/htm2pic-command-line-tool-detailed-usage/</link>
		<comments>http://www.htm2pic.com/2008/07/07/htm2pic-command-line-tool-detailed-usage/#comments</comments>
		<pubDate>Mon, 07 Jul 2008 13:02:49 +0000</pubDate>
		<dc:creator>flying99koo</dc:creator>
		
		<category><![CDATA[Htm2Pic]]></category>

		<category><![CDATA[Online Help]]></category>

		<category><![CDATA[capture webpage screenshot]]></category>

		<category><![CDATA[take snapshot of webpage]]></category>

		<category><![CDATA[webpage snapshot]]></category>

		<guid isPermaLink="false">http://www.htm2pic.com/2008/07/07/htm2pic-command-line-tool-detailed-usage/</guid>
		<description><![CDATA[[TABLE=4]
[TABLE=5]
]]></description>
			<content:encoded><![CDATA[<p>[TABLE=4]<br />
[TABLE=5]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.htm2pic.com/2008/07/07/htm2pic-command-line-tool-detailed-usage/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Top text link advertising sites</title>
		<link>http://www.htm2pic.com/2008/06/18/top-text-link-advertising-sites/</link>
		<comments>http://www.htm2pic.com/2008/06/18/top-text-link-advertising-sites/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 05:00:32 +0000</pubDate>
		<dc:creator>flying99koo</dc:creator>
		
		<category><![CDATA[Site Guide]]></category>

		<guid isPermaLink="false">http://www.htm2pic.com/2008/06/18/top-text-link-advertising-sites/</guid>
		<description><![CDATA[





Do you wanna create webpage thumbnails like the ones shown above ? Take Htm2Pic, a must-have tool for any blogger, webmaster and internet marketer.
Download now and give it a try!]]></description>
			<content:encoded><![CDATA[<p><img width="412" src="http://farm4.static.flickr.com/3178/2574133233_012cd478a8.jpg?v=0" alt="textlinkads.com" height="312" style="width: 412px; height: 312px" title="textlinkads.com" /></p>
<p><img width="412" src="http://farm4.static.flickr.com/3264/2574142145_cfe0011801.jpg?v=0" alt="linkworth.com" height="312" style="width: 412px; height: 312px" title="linkworth.com" /></p>
<p><img width="412" src="http://farm4.static.flickr.com/3049/2574142147_7bfe116b15.jpg?v=0" alt="livecustomer.com" height="312" style="width: 412px; height: 312px" title="livecustomer.com" /></p>
<p><img width="412" src="http://farm3.static.flickr.com/2378/2574973078_004e317bd1.jpg?v=0" alt="TNX.net" height="312" style="width: 412px; height: 312px" title="TNX.net" /></p>
<p><img width="412" src="http://farm4.static.flickr.com/3164/2569015569_c0a4eb059f.jpg?v=0" alt="facebook.com" height="312" title="facebook.com" /></p>
<!-- ddsig -->
<h4>Do you wanna create webpage thumbnails like the ones shown above ? Take Htm2Pic, a must-have tool for any blogger, webmaster and internet marketer.<br />
<a href="http://www.htm2pic.com/download/htm2pic-desktop" >Download now and give it a try!</a></h4>]]></content:encoded>
			<wfw:commentRss>http://www.htm2pic.com/2008/06/18/top-text-link-advertising-sites/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Top blog advertising sites</title>
		<link>http://www.htm2pic.com/2008/06/18/top-blog-advertising-sites/</link>
		<comments>http://www.htm2pic.com/2008/06/18/top-blog-advertising-sites/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 04:54:51 +0000</pubDate>
		<dc:creator>flying99koo</dc:creator>
		
		<category><![CDATA[Site Guide]]></category>

		<guid isPermaLink="false">http://www.htm2pic.com/2008/06/18/top-blog-advertising-sites/</guid>
		<description><![CDATA[


















Do you wanna create webpage thumbnails like the ones shown above ? Take Htm2Pic, a must-have tool for any blogger, webmaster and internet marketer.
Download now and give it a try!]]></description>
			<content:encoded><![CDATA[<p><img width="412" src="http://farm4.static.flickr.com/3070/2568752083_619bf8ccb3.jpg?v=0" alt="feedburner.com" height="312" style="width: 412px; height: 312px" title="feedburner.com" /></p>
<p><img width="412" src="http://farm4.static.flickr.com/3048/2569092967_2766bda781.jpg?v=0" alt="crispads.com" height="312" title="crispads.com" /></p>
<p><img width="412" src="http://farm4.static.flickr.com/3120/2569577976_fcbdcc2c9a.jpg?v=0" alt="reviewme.com" height="312" style="width: 412px; height: 312px" title="reviewme.com" /></p>
<p><img width="412" src="http://farm3.static.flickr.com/2346/2568752219_f4b3840396.jpg?v=0" alt="payperpost.com" height="312" style="width: 412px; height: 312px" title="payperpost.com" /></p>
<p><img width="412" src="http://farm4.static.flickr.com/3003/2568990915_948e223a38.jpg?v=0" alt="advertlets.com" height="312" style="width: 412px; height: 312px" title="advertlets.com" /></p>
<p><img width="412" src="http://farm4.static.flickr.com/3102/2568990949_bdf13f5d72.jpg?v=0" alt="blogvertise.com" height="312" style="width: 412px; height: 312px" title="blogvertise.com" /></p>
<p><img width="412" src="http://farm4.static.flickr.com/3070/2568752473_f0922d7a51.jpg?v=0" alt="smorty.com" height="312" style="width: 412px; height: 312px" title="smorty.com" /></p>
<p><img width="412" src="http://farm4.static.flickr.com/3033/2569038049_fe731a177c.jpg?v=0" alt="payu2blog.com" height="312" style="width: 412px; height: 312px" title="payu2blog.com" /></p>
<p><img width="412" src="http://farm4.static.flickr.com/3118/2569038057_08bf0981ab.jpg?v=0" alt="buyblogreviews.com" height="312" title="buyblogreviews.com" /></p>
<p><img width="412" src="http://farm4.static.flickr.com/3262/2569038063_911b21b072.jpg?v=0" alt="sponsoredreviews.com" height="312" title="sponsoredreviews.com" /></p>
<p><img width="412" src="http://farm4.static.flickr.com/3267/2569047303_438555c187.jpg?v=0" alt="host-my-post.com" height="312" title="host-my-post.com" /></p>
<p><img width="412" src="http://farm4.static.flickr.com/3045/2569047305_7775fa5f2a.jpg?v=0" alt="bloggingads.com" height="312" title="bloggingads.com" /></p>
<p><img width="412" src="http://farm4.static.flickr.com/3021/2569056945_ae674b0e14.jpg?v=0" alt="socialspark.com" height="312" style="width: 412px; height: 312px" title="socialspark.com" /></p>
<p><img width="412" src="http://farm4.static.flickr.com/3151/2569075185_57751d0563.jpg?v=0" alt="b5media.com" height="312" style="width: 412px; height: 312px" title="b5media.com" /></p>
<p><img width="412" src="http://farm4.static.flickr.com/3147/2569075189_7fbb160de3.jpg?v=0" alt="blogitive.com" height="312" title="blogitive.com" /></p>
<p><img width="412" src="http://farm4.static.flickr.com/3129/2569075195_1f16fc8cd1.jpg?v=0" alt="reviewback.com" height="312" style="width: 412px; height: 312px" title="reviewback.com" /></p>
<p><img width="412" src="http://farm4.static.flickr.com/3025/2571715693_b8db3a534c.jpg?v=0" alt="bliggo.com" height="312" style="width: 412px; height: 312px" title="bliggo.com" /></p>
<p><img width="412" src="http://farm4.static.flickr.com/3187/2574125841_c1648fd378.jpg?v=0" alt="blogherads.com" height="312" style="width: 412px; height: 312px" title="blogherads.com" /></p>
<!-- ddsig -->
<h4>Do you wanna create webpage thumbnails like the ones shown above ? Take Htm2Pic, a must-have tool for any blogger, webmaster and internet marketer.<br />
<a href="http://www.htm2pic.com/download/htm2pic-desktop" >Download now and give it a try!</a></h4>]]></content:encoded>
			<wfw:commentRss>http://www.htm2pic.com/2008/06/18/top-blog-advertising-sites/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Explanation of Image2Html &#8220;display char&#8221; settings</title>
		<link>http://www.htm2pic.com/2008/05/14/explanation-of-image2html-display-char-settings/</link>
		<comments>http://www.htm2pic.com/2008/05/14/explanation-of-image2html-display-char-settings/#comments</comments>
		<pubDate>Wed, 14 May 2008 16:48:53 +0000</pubDate>
		<dc:creator>flying99koo</dc:creator>
		
		<category><![CDATA[Online Help]]></category>

		<guid isPermaLink="false">http://www.htm2pic.com/2008/05/14/explanation-of-image2html-display-char-settings/</guid>
		<description><![CDATA[Here &#8220;display char&#8221; may not be a single charactor, you can specify a string such as &#8220;Avril Lavigne&#8221;, &#8220;Its My Life&#8221; etc. The program will ignore any blank space in the string.
By default, if you do not tick any checkbox(&#8221;Random&#8221;,&#8221;Sequence&#8221;,&#8221;use double char&#8221;), the program will use first char as rendering &#8220;pixel&#8221;. For example: you input [...]]]></description>
			<content:encoded><![CDATA[<p>Here &#8220;display char&#8221; may not be a single charactor, you can specify a string such as &#8220;Avril Lavigne&#8221;, &#8220;Its My Life&#8221; etc. The program will ignore any blank space in the string.</p>
<p>By default, if you do not tick any checkbox(&#8221;Random&#8221;,&#8221;Sequence&#8221;,&#8221;use double char&#8221;), the program will use first char as rendering &#8220;pixel&#8221;. For example: you input &#8220;Image2Html&#8221;, the program gets &#8220;I&#8221; and ignore the rest.</p>
<p>if you tick &#8220;Sequence&#8221;, the program will render each char in sequence. And you know how &#8220;Random&#8221; works.</p>
<p>if you tick &#8220;use double char&#8221;, the program will render every 2 char as one &#8220;pixel&#8221;, thus the final output will look a bit large.</p>
<p>The  recommended width is 130-220 ,  also tick &#8220;compress&#8221; and set quality to 5-8.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.htm2pic.com/2008/05/14/explanation-of-image2html-display-char-settings/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Htm2Pic Newbie Quick Start</title>
		<link>http://www.htm2pic.com/2008/04/27/htm2pic-newbie-quick-start/</link>
		<comments>http://www.htm2pic.com/2008/04/27/htm2pic-newbie-quick-start/#comments</comments>
		<pubDate>Sun, 27 Apr 2008 12:43:57 +0000</pubDate>
		<dc:creator>flying99koo</dc:creator>
		
		<category><![CDATA[Htm2Pic]]></category>

		<category><![CDATA[Online Help]]></category>

		<category><![CDATA[htm2pic]]></category>

		<category><![CDATA[html to image]]></category>

		<category><![CDATA[html to pic]]></category>

		<category><![CDATA[html2bmp]]></category>

		<category><![CDATA[take snapshot of URL]]></category>

		<category><![CDATA[web page thumbnailer]]></category>

		<guid isPermaLink="false">http://www.htm2pic.com/2008/04/27/htm2pic-newbie-quick-start/</guid>
		<description><![CDATA[Watch the demo videos now and you&#8217;ll be a master. Video1 &#124; Video2 &#124; Video3 &#124; Video4 
 How to take snapshots of web pages 
 How to resize captured images
 How to convert html to multi-page PDF/TIF documents
 How to add watermarks to existing images
How to take snapshots of web pages 
    Switch to &#8220;Web Page Thumbnailer&#8221; tab and type [...]]]></description>
			<content:encoded><![CDATA[<p><center>Watch the demo videos now and you&#8217;ll be a master. <a href="http://www.htm2pic.com/demo/htm2pic_website_thumbnailer.html" target="blank" >Video1</a> | <a href="http://www.htm2pic.com/demo/htm2pic_image_thumbnailer.html" target="blank" >Video2</a> | <a href="http://www.htm2pic.com/demo/htm2pic_make_multpage_PDF.html" target="blank" >Video3</a> | <a href="http://www.htm2pic.com/demo/htm2pic_watermark_generator.html" target="blank" >Video4</a></center> </p>
<blockquote><p> <a href="#convertHTMLtoImage">How to take snapshots of web pages</a> <a name="top" title="top"></a><br />
 <a href="#resizeImages">How to resize captured images</a><br />
 <a href="#convertHTMLtoPDF">How to convert html to multi-page PDF/TIF documents</a><br />
 <a href="#addWatermarks">How to add watermarks to existing images</a></p></blockquote>
<h4>How to take snapshots of web pages<a name="convertHTMLtoImage" title="convertHTMLtoImage"></a> </h4>
<p>    Switch to &#8220;Web Page Thumbnailer&#8221; tab and type in the URLs you want to capture in the &#8220;URL List&#8221; memo box, one URL per line. Lines with leading &#8220;#&#8221; will be treated as comments. You can use the Hotkey: CTRL + &#8216;/&#8217; to comment/uncomment multiple lines that you selected. This is a very practical function and should be easy to understand especially when you have some programming experiences. You may also press ALT + &#8216;D&#8217; to delete a whole line. URLs can be loaded from a text file by clicking the &#8221;load list&#8221; button. The &#8220;grab from IE&#8221; button allows you to collect URLs in the address bar  of all existing IE browser windows. A great time saver, isn&#8217;t it ? </p>
<p style="text-align: center"><img width="500" src="http://farm3.static.flickr.com/2241/2445196694_a986ae91a2.jpg" height="409" style="width: 500px; height: 409px" /></p>
<p>    In most case, you don&#8217;t have to change any of the settings above. Just press CTRL + SHIFT + &#8216;C&#8217; or click the &#8220;Take snapshots!&#8221; button and Htm2Pic will get it going. You can view detailed on-going status in the &#8220;running logs&#8221; group box during capturing.</p>
<p>    Htm2Pic creates both full-length snapshot and thumbnail one, thus you can set the output folder respectively as well as the output format.  If you don&#8217;t wanna create thumbnail images upon capturing , just leave the output folder for thumbnails blank. Most web pages are 800 pixels in width which is the default value for &#8220;capture width&#8221;, set it to a larger value if your page oversteps.</p>
<p>    The &#8220;crop height to&#8221; value is effective when creating thumbnail images. It would be perfect to crop height to 600 pixels from a 800 pixel wide page if you are creating 400*300 thumbnails. In this case ,you get the part you want and avoid getting a distorted one. If you do not want to crop ( create thumbnails from the whole large image ), set &#8220;crop height to&#8221; to zero. Htm2Pic has two resizing options while creating thumbnail images, by percent or by fixed width &amp; height. The &#8220;delay&#8221; option is very useful when some of the elements in your page takes addtional time to render after the HTML document is loaded completely such as FLASH content or web pages using AJAX.</p>
<p><a href="#top">back to top ^</a>.</p>
<h4>How to resize captured images<a name="resizeImages" title="resizeImages"></a> </h4>
<p>    Let&#8217;s stay on the &#8220;Web Page Thumbnailer&#8221; main tab, but switch to the &#8220;Image List&#8221; sub tab, here you can add a list of images to be processed. Click the &#8220;add file(s)&#8221; button and a image file selection dialog box will popup, in which you can select multiple images at one time.(use CTRL and/or SHIFT to do so) . You may have noticed that the resizing option group box on the top of the panel is still activated, thus these settings will be applied to all images you&#8217;ve added to the &#8220;Image List&#8221;. Click on an image file to see thumbnail preview or double click to open it using your default image viewer.</p>
<p style="text-align: center"><img width="500" src="http://farm4.static.flickr.com/3270/2449228764_c49a1825c4.jpg?v=0" height="409" style="width: 500px; height: 409px" /></p>
<p>    By clicking on &#8220;Make Thumbnails&#8221;, Htm2Pic would create thumbnail images on the fly.  Check the output folder when finished , you should see your expected result. (TIP: check &#8220;Open output folder for thumbnails when done&#8221; in the &#8220;Options&#8221; tab and the output folder would be opened automatically upon completion)</p>
<p><a href="#top">back to top ^</a></p>
<h4>How to convert html to multi-page PDF/TIF documents<a name="convertHTMLtoPDF" title="convertHTMLtoPDF"></a> </h4>
<p>    Htm2Pic&#8217;s rendering core is so flexible that you can convert HTML into multi-page PDF/TIF documents with almost no effort while taking snapshots of web pages. Here&#8217;s how you can do it: Switch to the &#8220;Options&#8221; tab, tick the &#8220;Convert snapshots to multi-page PDF/TIF when done&#8221; checkbox and specify your desired output filename. Easy enough ? Then go back to thumbnailer and try adding some sites, hit the start button, try it out yourself. </p>
<p style="text-align: center"><img width="500" src="http://farm4.static.flickr.com/3038/2448443053_233dc67e63.jpg?v=0" height="409" style="width: 500px; height: 409px" /></p>
<p>    As an alternative, creating multi-page PDF/TIF documents from your customized local image list is also supported. Just switch to the &#8220;Image List&#8221; sub tab located in the &#8221;Web Page Thumbnailer&#8221;, you&#8217;ll two button named &#8220;Make multi-page PDF&#8221; and &#8220;Make multi-page TIF&#8221; on the right hand of the tool bar. Well, you know the rest.</p>
<p><a href="#top">back to top ^</a></p>
<h4>How to add watermarks to existing images<a name="addWatermarks" title="addWatermarks"></a> </h4>
<p>     Adding watermarks to images is an often and highly usable demand. But almost none of the other providers offers this feature while Htm2Pic handles the task perfectly. Switch to the &#8220;Watermark Generator&#8221; tab and you&#8217;ll see all that you need, anyone with a brain can understand the settings with little effort I think. Only one thing to explain when it comes to placing an image as watermark, tick the &#8220;transparent enabled&#8221; check box and set corresponding transparent color if you don&#8217;t want the image background to be merged along. For example, set transparent color to black if your image background is black. Since PNG images may have transparent background color, Htm2Pic would first convert it into a 24bpp Bitmap and then place the watermark based on your settings.</p>
<p style="text-align: center"><img width="500" src="http://farm3.static.flickr.com/2284/2448394145_af8f445ab1.jpg?v=0" height="409" style="width: 500px; height: 409px" /></p>
<p>    The watermarked image preview area is scrollable as it shows full-size image without resizing. Press the &#8220;add watermark(s) !&#8221; button and all images would be watermarked into output folder.</p>
<p><a href="#top">back to top ^</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.htm2pic.com/2008/04/27/htm2pic-newbie-quick-start/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Htm2Pic v1.4 has just released!</title>
		<link>http://www.htm2pic.com/2008/04/06/converting-html-to-image-has-never-been-so-easier-with-htm2pic/</link>
		<comments>http://www.htm2pic.com/2008/04/06/converting-html-to-image-has-never-been-so-easier-with-htm2pic/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 05:18:45 +0000</pubDate>
		<dc:creator>flying99koo</dc:creator>
		
		<category><![CDATA[Htm2Pic]]></category>

		<guid isPermaLink="false">http://www.htm2pic.com/2008/04/06/your-search-for-an-ideal-html-to-image-converter-has-ended/</guid>
		<description><![CDATA[Your Search for an Ultimate &#8221;&#8221; Solution HAS COME TO AN END. Htm2Pic is the most Powerful yet Affordable &#8220;&#8221; program of it&#8217;s kind on the market! A Must-have Tool for any Internet Marketer, Blogger, Webmaster &#038; Web Designer!
Unlike any other utility, Htm2Pic gives you FULL CONTROL over every aspect and it works as a 6 IN 1 Super [...]]]></description>
			<content:encoded><![CDATA[<h1 align="center">Your Search for an Ultimate &#8221;<strong><u></u></strong>&#8221; Solution HAS COME TO AN END. Htm2Pic is the most <u>Powerful</u> yet <u>Affordable</u> &#8220;<strong><u></u></strong>&#8221; program of it&#8217;s kind on the market! A Must-have Tool for any <strong><em>Internet Marketer</em></strong>, <strong><em>Blogger</em></strong>, <strong><em>Webmaster</em></strong> &#038; <strong><em>Web Designer</em></strong>!</h1>
<h2 align="center">Unlike any other utility, Htm2Pic gives you <U>FULL CONTROL</U> over every aspect and it works as a <u>6 IN 1</u> Super Pack: HTML to image converter, HTML to PDF converter, image to PDF converter, watermark generator, thumbnailer &#038; image format converter. Best of all, you can do all that in <u>Batch Mode</u> !</h2>
<h4>Introducing Htm2Pic v1.4 </h4>
<p>    Htm2Pic is a <strong>windows desktop program</strong> that mainly helps you convert html page from any URL into image in any popular format. (BMP,JPG,GIF,PNG,TIF etc. <a href="#sample">Click here</a> to see sample output) This tool is specially designed for batch converting a lot of web pages. It also works perfectly as an Image to PDF converter and even more. Compared with other similar providers, our product is second to none with competitive price. <a href="http://www.htm2pic.com/download"><strong><em>Try now and find it yourself !</em></strong><br />
</a><br />
<blockquote>
<h4>KEY FEATURES:</h4>
<li><span style="color: #0000ff">Take a snapshot of a whole webpage into one image without scrollbars.</span></li>
<li><span style="color: #0000ff">Stable &#038; Fast rendering engine, compatible with all web pages</span></li>
<li><span style="color: #0000ff">Supports a dozen of image formats (JPG,GIF,BMP,PNG,TIFF,PCX,WMF,TGA etc)</span></li>
<li><span style="color: #0000ff">Directly convert webpages to PDF(&#8217;PDF&#8217; is considered as one of the many supported formats)</span></li>
<li><span style="color: #0000ff">Cookie enabled, bypass any login page and snap inside !</span></li>
<li><span style="color: #0000ff">Automatically create thumbnail image from large image while taking snapshot.</span></li>
<li><span style="color: #0000ff">Several special image effects are supported.(Drop Shadow, Round Corner, Reflection etc)</span></li>
<li><span style="color: #0000ff">Run at background, web pages don&#8217;t need to be displayed for capturing.</span></li>
<li><span style="color: #0000ff">Batch conversion is supported. Convert several pages at a time, extremely fast!</span></li>
<li><span style="color: #0000ff">Batch resizing existing images is supported, you can now resize your captured images any time you want.</span></li>
<li><span style="color: #0000ff">Flexible resizing options: by percent or by fixed width &amp; height.</span></li>
<li><span style="color: #0000ff">Support converting local HTML, MHT files to image.</span></li>
<li><span style="color: #0000ff">Support capturing site with FLASH content.</span></li>
<li><span style="color: #0000ff">Support URL file, now you can convert your favorite site to image.</span></li>
<li><span style="color: #0000ff">Grab URLs in IE address bar. A great time saver.</span></li>
<li><span style="color: #0000ff">Adding customized text/image watermarks to existing images is supported.</span></li>
<li><span style="color: #0000ff">Convert HTML to PDF, convert web pages into multi-page PDF/TIF/DCX document in just ONE click.</span></li>
<li><span style="color: #0000ff">Convert image to PDF, convert existing images to multi-page PDF/TIF/DCX document</span></li>
</blockquote>
<p><center><br />
<h3>&#8220;&#8221; has never been so easy with Htm2Pic, watch now!</h3>
<p><a href="http://www.htm2pic.com/demo/htm2pic_website_thumbnailer.html" target="blank" >Video1</a> | <a href="http://www.htm2pic.com/demo/htm2pic_image_thumbnailer.html" target="blank" >Video2</a> | <a href="http://www.htm2pic.com/demo/htm2pic_make_multpage_PDF.html" target="blank" >Video3</a> | <a href="http://www.htm2pic.com/demo/htm2pic_watermark_generator.html" target="blank" >Video4</a></center></p>
<p><img align="left" width="253" src="http://www.htm2pic.com/wp-content/uploads/2008/04/box21.JPG" alt="box21.JPG" height="300" />    &#8220;A picture is worth a thousand words&#8221; - If you are writing blogs, posting to forums or writing articles where you want to refer to a website then it looks nice and much more interesting in case you add a thumbnail picture of the website you are referring to. Htm2Pic can help you out to get the different size thumbnail images of the referring website for your blog / forum / article quickly and efficiently.</p>
<p>    Are you a web designer who want to convert your work into graphics for customer preview? Are you an Internet Marketer who want to convert the merchant sites your are affiliate with into thumbnails to build your mini review-style landing page ? You can now use Htm2Pic, our professional HTML to Image Converter to do it with a few clicks. Unlike using Alt+PrtScr (Print Screen) to copy screen and paste together, Htm2Pic captures the whole page in one step. <a href='http://www.htm2pic.com/wp-content/uploads/2008/05/src_www_htm2pic_com20080519_224939.JPG' title='src_www_htm2pic_com20080519_224939.JPG' target="blank">CLICK HERE</a> to see a snapshot of this page.</p>
<p>    With Htm2Pic you can easily convert HTML to PDF &#038; convert image to PDF! This software converts web pages / images into multi-page PDF / TIF / DCX document on the fly. You may select any existing image you have on your computer into the conversion list which is really cool. As adding watermarks is an often and highly usable demand, an internal watermark generator is also included.<br />
<a href="http://www.htm2pic.com/download/" ><strong><em>Download for FREE NOW and give it a try to see how this amazing tool can help you with &#8220;&#8221; !</em></strong></a><em> No functionality limitation except watermarks in the generated image for the unregistered version.</em></p>
<p><a href="http://www.htm2pic.com/purchase/" ><strong><em>Buy now !</em></strong></a><em> Remove the watermarks. <strong>$29.95</strong> For Single User Lic</em><em>ense.</em></p>
<h4>OVERVIEW:</h4>
<p>    The software captures full length website screenshots and automatically generates thumbnail image previews of web pages in any size you specify on the fly. You can literally convert thousands of URL/HTML file in batch mode without any of your intervention. Our multi-thread engine allows you to convert several web pages at a time, unlike other piece of software with which you can only convert them one by one (That&#8217;s how they call it &#8216;batch&#8217;). </p>
<p align="center"><a rel="lightbox" href="http://farm3.static.flickr.com/2241/2445196694_9dce663dc7_o.gif" title="htm2pic screenshot"><br />
<img width="500" src="http://farm3.static.flickr.com/2241/2445196694_a986ae91a2.jpg" alt="html2pic screenshot" height="414" style="width: 500px; height: 414px" title="click to enlarge" /></a></p>
<p>    Using <strong>Htm2Pic</strong> to convert HTML to image is as easy as 1,2,3 ! Just switch to the &#8220;Web Page Thumbnailer&#8221; tab and input the URLs you wanna snap in &#8220;URL List&#8221; and set your desired output image format.(You can even set this to &#8216;PDF&#8217;,Htm2Pic consider &#8216;PDF&#8217; as one of the many supported image format) Click the &#8220;Take Snapshots !&#8221; button and you&#8217;re on your way! (You can also press the hotkey: Ctrl + Shift + C to start) <strong>Htm2Pic</strong> has all necessary settings you need to fine-tune your output. Just leave them default if you don&#8217;t wanna bother. (They were optimized for you already. You may get into details later on.)   </p>
<p>    <strong>Htm2Pic</strong> also has a feature that allows you to resize any existing image you have on your computer in batch which is really awesome. Switch to &#8220;Image List&#8221; located in &#8220;Website Thumbnailer&#8221;, You&#8217;ll find this sub-page itself  is a powerful  Image to PDF converter &#038; Thumbnailer.(If you set zoom value to 100% and click &#8220;Make Thumbnails&#8221;, Htm2Pic would work as an common image format converter) A single image to PDF product you found on some other site may cost you $38 or higher while Htm2Pic covers this completely with a price as low as $29.95. Further more, in &#8220;Watermark Generator&#8221; you can add simple text/image watermarks to any existing image in batch ! No other HTML capture tool has such features. This is really cool especially when you want to protect &amp; brand your images. Read the <a href="http://www.htm2pic.com/2008/04/27/htm2pic-newbie-quick-start/" >Htm2Pic newbie quick start</a> now for details.</p>
<p align="left">    Unsure? Unconvinced? I understand. <strong>We&#8217;ll also throw in FREE tech support! </strong></p>
<p align="left">    <a href="http://www.htm2pic.com/download" ><strong>Try it out for FREE </strong></a>to convert html to image now! If you&#8217;re still unsure.</p>
<p>    <em><strong><a href="http://www.htm2pic.com/purchase" >Get Htm2Pic for ONLY $29.95 NOW!</a>  </strong><strong>NO Ads, Nags or Spyware! Virus-FREE! It is the most  prowerful yet affordable &#8220;&#8221; Tool on the market! </strong></em></p>
<p>    If you are looking for the programs, such as convert html to 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, or software to convert html to image, Webpage Thumbnailer, image2pdf, image to PDF. Htm2Pic is exactly what you want. It works perfectly on all Windows versions with Internet Explorer 5.0 or above and with Internet Connection.</p>
<h4>SAMPLE OUTPUT IMAGE:</h4>
<p><a name="sample" title="convertHTMLtoImage"></a><br />
    Htm2Pic optimizes the output image to ensure best quality yet smallest file size. For full length page samples please take a look at the right side bar, you can click on the image to enlarge. For thunmbnail samples, see below:</p>
<p align="center"><a href="http://farm4.static.flickr.com/3195/2394372465_0375ede9c9.jpg"rel="lightbox"  title="aol screenshot" onclick="javascript:pageTracker._trackPageview('/outbound/article/farm4.static.flickr.com');"><img width="240" src="http://farm4.static.flickr.com/3195/2394372465_0375ede9c9_m.jpg" alt="aol screenshot" height="180" style="width: 240px; height: 180px" /></a> <a href="http://farm3.static.flickr.com/2180/2391720097_0ee66ce6e9.jpg"rel="lightbox"  title="yahoo screenshot" onclick="javascript:pageTracker._trackPageview('/outbound/article/farm3.static.flickr.com');"><img width="240" src="http://farm3.static.flickr.com/2180/2391720097_0ee66ce6e9_m.jpg" alt="yahoo screenshot" height="180" style="width: 240px; height: 180px" /></a></p>
<p>    Htm2Pic allows you to set cropping height of original large image while creating thumbnail from it. You can thus adjust &#8220;crop height to&#8221; value according to your desired thumbnail size. For example: Most web pages are 800 pixels in width, so you may set cropping height to 600 pixels(the default value) for a 400*300 thumbnail image. In this case, you can pick the part you want and avoid getting a distorted one. This is very useful especially when dealing with long scrolling pages. As we know, most similar software do not take this into consideration.</p>
<p>&nbsp;&nbsp;  From version 1.4.1, you can now apply some special image effects on the final output thumbnails such as &#8220;Drop Shadow&#8221;, &#8220;Round Corner&#8221;, &#8220;Reflection&#8221;, &#8220;Frame Border&#8221; etc by simply setting the &#8220;Thumbnail Effect&#8221; in &#8220;Snapshot Options&#8221; page. You don&#8217;t have to know any &#8220;graphic design&#8221; thing, Htm2Pic eases the process for you and the number of effects is still growing. See samples below.</p>
<p align="center"><a href="http://farm3.static.flickr.com/2226/2538938700_1e05bfdc90_o.jpg"rel="lightbox"  title="download.com snapshot thumbnail with drop shadow" onclick="javascript:pageTracker._trackPageview('/outbound/article/farm3.static.flickr.com');"><img width="240" src="http://farm3.static.flickr.com/2226/2538938700_9d319e5a65_m.jpg" alt="download.com snapshot thumbnail with drop shadow" height="180" style="width: 240px; height: 180px" /></a> <a href="http://farm4.static.flickr.com/3239/2538149949_3dd331783b_o.jpg"rel="lightbox"  title="yahoo screenshot" onclick="javascript:pageTracker._trackPageview('/outbound/article/farm4.static.flickr.com');"><img width="240" src="http://farm4.static.flickr.com/3239/2538149949_b997ef5a7e_m.jpg" alt="yahoo screenshot" height="180" style="width: 240px; height: 180px" /></a></p>
<p>    See what you can get with Htm2Pic&#8217;s internal watermark generator!</p>
<p align="center"><a href="http://farm3.static.flickr.com/2190/2444589395_203d0a90bc.jpg?v=0"rel="lightbox"  onclick="javascript:pageTracker._trackPageview('/outbound/article/farm3.static.flickr.com');"><img align="absMiddle" width="240" src="http://farm3.static.flickr.com/2190/2444589395_203d0a90bc_m.jpg" alt="codeproject.com screenshot with watermark" height="180" style="width: 240px; height: 180px" /></a> <a href="http://farm3.static.flickr.com/2114/2504883391_ac77b95ea0.jpg?v=0"rel="lightbox"  onclick="javascript:pageTracker._trackPageview('/outbound/article/farm3.static.flickr.com');"><img align="absMiddle" width="240" src="http://farm3.static.flickr.com/2114/2504883391_ac77b95ea0_m.jpg" alt="htm2pic.com screenshot with watermark" height="180" style="width: 240px; height: 180px" /></a></p>
<p align="left">   <a href="http://www.htm2pic.com/wp-content/uploads/2008/05/src_www_htm2pic_com20080519_203747.PDF" title="src_www_htm2pic_com20080519_203747.PDF" target="blank" >CLICK HERE</a> to see a PDF snapshot of this page. <strong> <a href="http://www.htm2pic.com/download" >DOWNLOAD now and give it a try !</a></strong></p>
<p align="left"><strong>    We are committed to improving Htm2Pic constantly, See <a href="http://www.htm2pic.com/download/#history" >History</a></strong></p>
<h3 align="center">If Htm2Pic isn&#8217;t your choice for &#8220;&#8221;, I don&#8217;t know which else is. We are currently working on Version 2.0 which has some stunning features. The price may go up soon, so <a href="http://www.htm2pic.com/purchase" >grab Htm2Pic now and Lock yourself in </a>! You can&#8217;t find another Powerful yet Affordable Tool of its kind on the market anywhere else !</h3>
<p align="center">&nbsp;</p>
<h2 align="center"><a href="http://www.htm2pic.com/purchase" ><img align="absMiddle" width="69" src="http://www.htm2pic.com/wp-content/uploads/2008/04/image00001.jpg" alt="Order Htm2Pic NOW, " height="70" style="width: 69px; height: 70px" title="Htm2Pic - the most Powerful yet Affordable tool to convert HTML to image" /> Order Htm2Pic NOW! Only $29.95</a></h2>
<p align="left">&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.htm2pic.com/2008/04/06/converting-html-to-image-has-never-been-so-easier-with-htm2pic/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
