Download ACA WebThumb ActiveX |
For Windows 7/Vista/2003/XP/2000
If you are an ASP developer and looking for a solution to convert HTML to image with ASP, you can try our HTML converter SDK - ACA WebThumb ActiveX. With a few function calls in ASP script, it helps you convert html from any URL to image or thumbnails easily and quickly, takes the snapshots of given URLs as JPG, GIF, PNG, BMP, TIFF, WMF and EMF image, you can easily add "HTML to JPG", "HTML to PNG", "HTML to GIF" features in your ASP script.
<% ' ASP code: Convert HTML to image ' Create instance ACAWebThumb.ThumbMaker set HTML_Converter = server.createobject("ACAWebThumb.ThumbMaker") HTML_Converter.SetURL ("http://www.acasystems.com") HTML_Converter.StartSnap() ' Save the image with full size HTML_Converter.SaveImage("main-thumb.large.png") ' Save the image with 320x240 size call HTML_Converter.SetThumbSize(320, 240, 0) HTML_Converter.SaveImage("main-thumb.small.png") %>
This ASP sample script shows how to make a web thumbnail in the memory and output to client browser.
<% ' Create instance ACAWebThumb.ThumbMaker set WebThumbMaker = server.createobject("ACAWebThumb.ThumbMaker") WebThumbMaker.SetURL ("http://www.acasystems.com") WebThumbMaker.StartSnap() call WebThumbMaker.SetThumbSize (320, 240, 0) arrImageBytes = WebThumbMaker.GetImageBytes("png") 'get image bytes ' output the converted image bytes to client Response.ContentType = "image/png" ' Get the image bytes by PNG format Response.BinaryWrite arrImageBytes Response.Flush Response.Close %>
Download ACA WebThumb ActiveX |
For Windows 7/Vista/2003/XP/2000