htmlsnapshot is a component that aims to be used by developers. Itallows maxinum flexiblity by providing a set of methods
http://www.guangmingsoft.net/wordpress/index.php/185/difference-between-html-to-image-and-htmlsnapshot/