HtmlImageGenerator imageGenerator = new HtmlImageGenerator();
// imageGenerator
// .loadHtml("<b>Hello World!</b> Please goto <a title=\"Goto Google\"
// href=\"http://www.google.com\">Google</a>.");
// imageGenerator.loadUrl("http://mtkplmap2:7001/esdm_web");
imageGenerator.loadUrl("http://www.hefeipet.com/client/chongwuzhishi/shenghuozatan/2012/0220/95.html");
imageGenerator.saveAsImage("hello-world.png");
imageGenerator.saveAsHtmlWithMap("hello-world.html", "hello-world.png");