You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I attached the html and converted code.
and the code is quite simple
@Test
public void htmlToJpg() throws MalformedURLException{
HtmlImageGenerator imageGenerator = new HtmlImageGenerator();
String uri = new File("//home/gnsg/Desktop/test.html").toURL().toString();
imageGenerator.loadUrl(uri);
imageGenerator.saveAsImage("hello-world123.png");
// imageGenerator.saveAsHtmlWithMap("hello-world.html", "hello-world.png");
}
Original issue reported on code.google.com by [email protected] on 30 Jun 2012 at 7:37
Original issue reported on code.google.com by
[email protected]
on 30 Jun 2012 at 7:37Attachments:
The text was updated successfully, but these errors were encountered: