Save html to gif

Htmlsnapshot supports converting html to gif. And it supports creating transparent GIF as well.

The SetGIFOption can be used to enable or disable transparent Gif

Dim snap
Set snap = CreateObject(“HTMLSNAP2.HtmlSnap.1″)
snap.SetTimeOut CLng(200000)

‘disable transparency gif
snap.SetGIFOption FALSE, &HFFFFFFFF
snap.SnapUrl “http://www.google.com/“, “0.gif”

‘enable transparency gif
snap.SetGIFOption TRUE, &HFFFFFFFF
snap.SnapUrl “http://www.google.com/“, “1.gif”