HtmlImageGenerator imageGenerator=new HtmlImageGenerator ();
String HTMLSTR="need to render the label of";
ImageGenerator. LoadHtml (HTMLSTR);
Try {
Thread.sleep(1000);
} the catch (Exception e) {
}
ImageGenerator. GetBufferedImage ();
Try {
Thread.sleep(1000);
} the catch (Exception e) {
}
ImageGenerator. SaveAsImage (url);
The original image through direct renders the HTML
By processing renders the
Please answer