.Net 2.0 library (DLL) to generate website thumbnail image, create full size screenshot of webpage, convert html and mhtml file to image, use it in your .NET web applications, windows forms applications and console applications.

Key Features

  • Generate website thumbnail image.
  • Capture full size screenshot of any web page.
  • Convert MHTML or HTML to image.
  • Supports JPG, GIF, PNG, BMP and TIF image formats.
  • Property to set JPEG quality (compression) percent.
  • Supports capturing site with flash content.
  • Property to set timeout seconds of web page to load.
  • Supports delayed snapshots of web page.
  • Property to disable JAVA on the web page.
  • Property to disable ActiveX on the web page.
  • Property to disable Scripts on the web page.
  • Property to set browser width and height.

Overview

Websites Screenshot is the .Net 2.0 dll (Class Library) that helps you generate webpage thumbnail, take full length screenshot of website, convert mhtml and html page to image. This development library can be used in any type of .NET application like web applications (ASP .net), windows forms applications and console applications to capture whole web page's content into JPEG, PNG, Bitmap, GIF or Tiff image on the fly.

The following code sample shows how to generate a JPEG screenshot from a website url.
VB .Net code. Check DLL Usage for more code samples.

    
Dim _Obj As New WebsitesScreenshot.WebsitesScreenshot
Dim _Result As WebsitesScreenshot.WebsitesScreenshot.Result
With _Obj
	_Result = .CaptureWebpage("http://www.google.com")
	If _Result = WebsitesScreenshot _
			.WebsitesScreenshot.Result.Captured Then
		.SaveImage("c:\google.jpg")
	End If
End With
_Obj.Dispose()

C# .Net code. Check DLL Usage for more code samples.

    
WebsitesScreenshot.WebsitesScreenshot  _Obj;
_Obj = new WebsitesScreenshot.WebsitesScreenshot ();
WebsitesScreenshot.WebsitesScreenshot.Result _Result;
_Result = _Obj.CaptureWebpage("http://www.google.com");
if (_Result == WebsitesScreenshot.WebsitesScreenshot.Result.Captured)
{ 
	_Obj.SaveImage ("c:\\google.jpg");
}            
_Obj.Dispose();

Sample Output Images (click on thumbnail to see full size screenshot)

www.youtube.com
100 X 200
www.myspace.com
100 X 200
www.amazon.com
100 X 200
www.blogger.com
90 X 100
www.msn.com
100 X 150
www.yahoo.com
90 X 120
www.about.com
100 X 150
www.ebay.com
100 X 110
to top