Home > Back-end >  Please answer HtmlImageGenerator rendering generated images after the migration, how to solve (image
Please answer HtmlImageGenerator rendering generated images after the migration, how to solve (image

Time:12-05

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
  • Related