Provide state-of-the-art image capture, screen capture, video capture and audio capture software
Download ACA Capture Pro - professional screen capture software
Home Download Buy Now Partners Contact    
 » Home > ACA WebThumb ActiveX Control

Developer SDK for converting HTML web page to image - ACA WebThumb ActiveX Control

Tips: ACA WebThumb ActiveX Control is a developer SDK for converting HTML web page to image. If you are looking for a windows application to coverting HTML web page to image and save HTML to JPG/PNG/GIF/TIF files, please free trial ACA HTML to Image Converter.
ACA WebThumb ActiveX Control: Convert HTML Webpage to Image


Are you a developer? Do you want to add "HTML to image", "HTML to JPEG", "HTML to PNG" feature to your application?

Now, you can try ACA WebThumb ActiveX Control, with a few function calls, it takes the snapshots of given URLs as JPG, GIF, PNG, BMP, TIFF, WMF and EMF image, it helps you convert the web page to images in batch, capture full length website screenshots, generate thumbnail image previews of web pages!


Version: ACA WebThumb ActiveX Control v2.82

Build: May 28, 2009


Free trial Free Download     Buy now Buy Now!    

Add "HTML to image", "HTML to PNG" feature to your application with a few function calls!

Do you want to take a screenshot from a web page in your desktop or web application? ACA WebThumb ActiveX Control takes the snapshots of given URLs as JPG, GIF, PNG, BMP, TIFF, WMF and EMF image, it helps you convert the web page to images in batch, capture full length website screenshots, generate thumbnail image previews of web pages. Now, you can add "HTML to image", "HTML to PNG", "HTML to JPG" feature to your application with a few function calls!

ACA WebThumb ActiveX Control can be used to convert not only web pages but also plain text files or Web Archive Format (*.MHT) files into JPG, GIF, PNG, BMP, TIFF, WMF and EMF images.

ACA WebThumb ActiveX Control is a small self-contained (no third-party dependencies) ActiveX control, so it can be used from any ActiveX-ready languages (comprehensive samples for the most popular provided). The basic usage is as easy as few function calls, but there are also many options and tuning possibilities.

The Features of ACA WebThumb ActiveX Control

  • Convert HTML web pages, mht and txt to image on the fly or in memory
  • Convert web pages to various image formats like JPG, GIF, PNG, BMP, TIFF, WMF and EMF, you can add html to jpg, html to gif, html to png, html to bmp, html to tiff, html to wmf, html to emf, html to image features to your own application.
  • Capture the whole web page, or a thumbnail image of a specified size
  • Selectively show ActiveX, java applets, Java Scripts and Videos on a web page
  • Support for controling the color depth
  • Support for controling the image DPI
  • It can be used with many programming languages and popular server side script languages like Visual C++, Visual Basic, Delphi, C#, Java, ASP, ASP.Net, VB.Net, PHP and Perl etc.
  • Get rich samples written in Visual C++, Visual Basic, C#, Perl, ASP, ASP.net, PHP, etc.
  • No Quibble 30-day Money-back Guarantee
  • 30-DAY MONEY-BACK GUARANTEE! There is a 30-DAY MONEY-BACK GUARANTEE! on our products , even though you also have 30 days to try it for free before registering! The 30-day money-back period starts at the time of registration (purchase). If you buy now you will be enjoying all the benefits of the registered version within minutes!
     

Example Snapshots

www.acasystems.com

www.download.com

www.youtube.com

en.wikipedia.org

Sample Codes: Convert HTML to image with VC++, php, ASP, C#, Java

  1. VC++ Sample Code: Convert HTML to image with VC++:
  2. void SnapExample(){
      CoInitialize(NULL); // Initializes the COM library on the current thread
    
      IThumbMaker * t_xpMaker = NULL;
      HRESULT hr = CoCreateInstance(__uuidof(ThumbMaker), NULL, CLSCTX_INPROC_SERVER, 
        __uuidof(IThumbMaker), (void**)&t_xpMaker);
    
      if ( SUCCEEDED(hr) ){
        t_xpMaker->SetURL( _T("http://www.acasystems.com"));
        long t_lRet = t_xpMaker->StartSnap();
        if ( 0 == t_lRet ){
          t_xpMaker->SaveImage( _T("c:/acasystems.png"));// Snap successful, save the image
    
          // call WIN32API ShellExecute() to open the image by default image viewer.
          ShellExecute( NULL, _T("open"), _T("c:/acasystems.png"), NULL, NULL, SW_SHOW);
        }
        t_xpMaker->Release();
      }
    }
  3. PHP Sample Code: Convert HTML to image with PHP:
  4. <?php
      $t_xMaker = new COM('ACAWebThumb.ThumbMaker') or die("Start ACAWebThumb.ThumbMakerfailed");
    
      $t_xMaker->SetURL("http://www.acasystems.com"); 
      if ( 0 == $t_xMaker->StartSnap() )
      {
        // Capture HTML to image successful, call SetImageFile() to save the image.
        echo "Take screenshot successful." ;
        $t_xMaker->SaveImage("c:/acasystems.png");
      }
    ?>
  5. ASP Sample Code: Convert HTML to image with ASP:
  6. <%
      set t_xThumbMaker = server.createobject("ACAWebThumb.ThumbMaker") 
      t_xThumbMaker.SetURL ("http://www.acasystems.com")
      if  0 = t_xThumbMaker.StartSnap() then
        ' Save the image with full size
        t_xThumbMaker.SaveImage("acasystems.png")
      end if
    %>
  7. C# Sample Code: Convert HTML to image with C#
  8. // Set the image filename.
    string t_strSaveFolder = Server.MapPath("./");           
    string t_strLargeImage = t_strSaveFolder + "\\" + "main-thumb.large.png";
    
    // Create instance
    ThumbMakerClass t_xThumbMaker = new ACAWebThumbLib.ThumbMakerClass();
    
    // Start convert web page http://www.acasystems.com to image
    t_xThumbMaker.SetURL("http://www.acasystems.com");
    t_xThumbMaker.StartSnap();
    
    // Save the image with full size in C#
    t_xThumbMaker.SaveImage(t_strLargeImage);
  9. Java Sample Code: Convert HTML to image in Java
  10. import sun.awt.*;
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    import java.awt.peer.*;
    public class Snap
    {
      static
      {
        System.loadLibrary("Snap");
      }
      public static void main( String[] argv )
      {
        Snap t_xSnap = new Snap();
        t_xSnap.Start("http://www.acasystems.com", "snapshot-acasystems.png");
      }
      public native void Start(String pi_strURL, String pi_strImageName);
    }
    
  11. Sample code: Convert Youtube video page to image using Java, C#, PHP, ASP, Perl, VC++, VB...

Online Documents

ACA WebThumb ActiveX Control Online Documents includes the interface reference, class members, function documents and samples.

HTML Converter SDK - ACA WebThumb ActiveX Review

Freedownloadscenter editor's review: ACA WebThumb ActiveX - Helps you convert the web page to images in batch Freedownloadscenter Editor July 16, 2008

A useful package that lets you implement website capture, helps you convert the web page to images in batch, add "HTML to image", "HTML to PNG" feature to your application with a few function calls. More details >>


Other ACASystems Products


Support

Maillist
Would you like be notified of all future news & updates regarding our products? Please enter your E-mail to join the mailing list!

Join Remove